diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-03-10 23:49:49 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-13 21:24:52 +0100 |
commit | b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758 (patch) | |
tree | f2be773fd0b750320cb645c8836cf312d7a67a68 | |
parent | 93a360c5d8b98869d6a3c60a6da7800a0763734c (diff) | |
download | nx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.tar.gz nx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.tar.bz2 nx-libs-b39ec4c45abac55bf0cb3faafb5a7ffc2adfa758.zip |
Keystroke.c: improve TEST output
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Keystroke.c | 6 |
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. */ |