diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-03 22:32:07 +0100 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-03 22:32:07 +0100 |
commit | d7c843c23bf73655df201e95fffef36c7e57c298 (patch) | |
tree | d23217b5f5cbd0c76601ea68a56dc1de7af98b4a /ScreenManager.c | |
parent | 14bd77c5f4ac968e9d6f0a5a9be29d49c5588f6d (diff) |
Complete cursor-based movement of headers.
Diffstat (limited to 'ScreenManager.c')
-rw-r--r-- | ScreenManager.c | 4 |
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; |