summaryrefslogtreecommitdiffstats
path: root/MainPanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'MainPanel.c')
-rw-r--r--MainPanel.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/MainPanel.c b/MainPanel.c
index 9fbd69d9..3e7a812d 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -51,8 +51,12 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
Htop_Reaction reaction = HTOP_OK;
+ /* Let supervising ScreenManager handle resize */
+ if (ch == KEY_RESIZE)
+ return IGNORED;
+
/* reset on every normal key */
- if (ch != ERR && ch != KEY_RESIZE)
+ if (ch != ERR)
this->state->hideProcessSelection = false;
if (EVENT_IS_HEADER_CLICK(ch)) {