aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/320_nxagent_configurable-keystrokes.full.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/320_nxagent_configurable-keystrokes.full.patch')
-rw-r--r--debian/patches/320_nxagent_configurable-keystrokes.full.patch5
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;