summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-02-03 22:32:07 +0100
committerHisham Muhammad <hisham@gobolinux.org>2015-02-03 22:32:07 +0100
commitd7c843c23bf73655df201e95fffef36c7e57c298 (patch)
treed23217b5f5cbd0c76601ea68a56dc1de7af98b4a /ScreenManager.c
parent14bd77c5f4ac968e9d6f0a5a9be29d49c5588f6d (diff)
Complete cursor-based movement of headers.
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index d7353b79..3df812c3 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -231,7 +231,9 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
}
if (Panel_eventHandlerFn(panelFocus)) {
HandlerResult result = Panel_eventHandler(panelFocus, ch);
-//fprintf(stderr, "eventResult=%d ", result);
+ if (result & SYNTH_KEY) {
+ ch = result >> 16;
+ }
if (result & REFRESH) {
doRefresh = true;
sortTimeout = 0;

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