summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-08-21 20:48:45 +0200
committerBenBE <BenBE@geshi.org>2021-08-22 10:40:59 +0200
commit68f2bfea619a454b5de1431689eb086cf13f5ceb (patch)
tree9c75b625e2aac6035aad2cdc9a51be863d26c59e /ScreenManager.c
parentb9e69223d02287f75c24c3f5be869a04979e5b17 (diff)
Abstract resize handling by adding a new Htop reaction
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index d403e24c..914c510b 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -243,6 +243,10 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
if (result & REDRAW) {
force_redraw = true;
}
+ if (result & RESIZE) {
+ ScreenManager_resize(this);
+ force_redraw = true;
+ }
if (result & RESCAN) {
rescan = true;
sortTimeout = 0;

© 2014-2024 Faster IT GmbH | imprint | privacy policy