diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-05-07 09:55:40 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-05-07 09:55:40 +0200 |
commit | c6f84a448a84c07a2050ab594e1c64ea72a1071c (patch) | |
tree | 4bbf00cbb9d54514d86bd26e386fe0d659555441 /debian/patches/320_nxagent_configurable-keystrokes.full.patch | |
parent | 7e55c36f4b5d287a3fb0c592b9a52692670f9206 (diff) | |
download | nx-libs-c6f84a448a84c07a2050ab594e1c64ea72a1071c.tar.gz nx-libs-c6f84a448a84c07a2050ab594e1c64ea72a1071c.tar.bz2 nx-libs-c6f84a448a84c07a2050ab594e1c64ea72a1071c.zip |
Configurable keystrokes: Don't ignore first XML element in keystrokes.cfg anymore. (Fixes: #488).
Diffstat (limited to 'debian/patches/320_nxagent_configurable-keystrokes.full.patch')
-rw-r--r-- | debian/patches/320_nxagent_configurable-keystrokes.full.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/patches/320_nxagent_configurable-keystrokes.full.patch b/debian/patches/320_nxagent_configurable-keystrokes.full.patch index 1f6e32832..d9f1fd796 100644 --- a/debian/patches/320_nxagent_configurable-keystrokes.full.patch +++ b/debian/patches/320_nxagent_configurable-keystrokes.full.patch @@ -83,7 +83,7 @@ Description: Make nxagent-specific keyboard bindings configurable #ifdef NX_DEBUG_INPUT int nxagentDebugInputDevices = 0; -@@ -47,297 +54,527 @@ +@@ -47,297 +54,528 @@ #undef DEBUG #undef DUMP @@ -649,10 +649,11 @@ Description: Make nxagent-specific keyboard bindings configurable - { - *result = doViewportMoveUp; - } -+ while ((cur++)->stroke != KEYSTROKE_END_MARKER) { ++ while (cur->stroke != KEYSTROKE_END_MARKER) { + if (cur->keysym == keysym && modifier_matches(cur->modifierMask, cur->modifierAltMeta, X->state)) { + return cur->stroke; + } ++ cur++; + } - break; |