summaryrefslogtreecommitdiff
path: root/hw/xquartz/darwin.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-08-19 02:02:11 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-08-20 10:00:27 -0700
commited42108920cc695b96ed57bf9dcfea1470e74669 (patch)
tree42827eef025c40110ea062f7a45105d1e0a0e221 /hw/xquartz/darwin.c
parentbe06961312e2111778bfd97b2c8a927acc61f43d (diff)
XQuartz: Added appkit_modifiers defaults option which users can set to 'rcommand' to get access to the input menu with right command
(cherry picked from commit 02af74d7a5a7225f408915254c40856159dc7f19) (cherry picked from commit 2da32894dff8340f6ca7c980277fca7ec835a193)
Diffstat (limited to 'hw/xquartz/darwin.c')
-rw-r--r--hw/xquartz/darwin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index 2c8cafe14..9e322d97c 100644
--- a/hw/xquartz/darwin.c
+++ b/hw/xquartz/darwin.c
@@ -112,6 +112,9 @@ int darwinFakeMouse2Mask = NX_ALTERNATEMASK;
int darwinFakeMouse3Mask = NX_COMMANDMASK;
#endif
+// Modifier mask for overriding event delivery to appkit (might be useful to set this to rcommand for input menu
+int darwinAppKitModMask = 0;
+
// devices
DeviceIntPtr darwinPointer = NULL;
DeviceIntPtr darwinTablet = NULL;