aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-03-10 23:49:49 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-13 21:24:52 +0100
commitb39ec4c45abac55bf0cb3faafb5a7ffc2adfa758 (patch)
treef2be773fd0b750320cb645c8836cf312d7a67a68 /nx-X11/programs/Xserver/hw/nxagent
parent93a360c5d8b98869d6a3c60a6da7800a0763734c (diff)
downloadnx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.tar.gz
nx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.tar.bz2
nx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.zip
Keystroke.c: improve TEST output
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
index cc41d557e..ce74dd82c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
@@ -420,14 +420,14 @@ Bool nxagentCheckSpecialKeystroke(XKeyEvent *X, enum HandleEventResult *result)
enum nxagentSpecialKeystroke stroke = find_keystroke(X);
*result = doNothing;
- if (stroke == KEYSTROKE_NOTHING)
- return False;
-
#ifdef TEST
fprintf(stderr, "nxagentCheckSpecialKeystroke: got code %x - state %x - stroke %d\n",
X -> keycode, X -> state, stroke);
#endif
+ if (stroke == KEYSTROKE_NOTHING)
+ return False;
+
/*
* Check special keys.
*/