From 3c921ccb42601ad78d0e6a67318ad12ed7118889 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 23 Mar 2017 22:22:05 +0100 Subject: Keystroke.c/h: completely disable keystrokes that are not active at compile time --- nx-X11/programs/Xserver/hw/nxagent/Keystroke.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Keystroke.h') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h index f8602fc37..caf72f78c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h @@ -52,10 +52,16 @@ enum nxagentSpecialKeystroke { KEYSTROKE_FORCE_SYNCHRONIZATION, /* stuff used for debugging, probably not useful for most people */ +#ifdef DEBUG_TREE KEYSTROKE_DEBUG_TREE, +#endif +#ifdef DUMP KEYSTROKE_REGIONS_ON_SCREEN, +#endif +#ifdef NX_DEBUG_INPUT KEYSTROKE_TEST_INPUT, KEYSTROKE_DEACTIVATE_INPUT_DEVICES_GRAB, +#endif KEYSTROKE_VIEWPORT_MOVE_LEFT, KEYSTROKE_VIEWPORT_MOVE_UP, -- cgit v1.2.3