summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-09-20 16:29:17 +1000
committerNathan Scott <nathans@redhat.com>2021-09-20 16:29:17 +1000
commit40c9f899719c88acc06406b192f1a2e7601cc694 (patch)
tree8e152b6b27662e0a75c6def812a4f3998393806f
parent80a515abcc746f8b749c7923438758d8c9666eec (diff)
parent09ad8067f4b0835b4274b68abfdd57704fd3c31d (diff)
Merge branch 'cgzones-mouse'
-rw-r--r--MainPanel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MainPanel.c b/MainPanel.c
index 21b5d1a3..e7033bf4 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -61,8 +61,8 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
if (ch == KEY_RESIZE)
return IGNORED;
- /* reset on every normal key */
- if (ch != ERR)
+ /* reset on every normal key, except mouse events while mouse support is disabled */
+ if (ch != ERR && (ch != KEY_MOUSE || this->state->settings->enableMouse))
this->state->hideProcessSelection = false;
if (EVENT_IS_HEADER_CLICK(ch)) {

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