diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-04-11 14:23:41 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-04-11 17:22:38 -0700 |
commit | 5e55becddccc376ab7338789562ad6d6cd750de9 (patch) | |
tree | 430542bc53a6b157c8c1e835469ae0fd904dda6b /hw/xquartz/darwinEvents.h | |
parent | bd1d9179094657865b0606ed0ac835a8b8df3be1 (diff) |
XQuartz: Make sure the Fn doesn't trigger unneccessary calls to DarwinUpdateModKeys()
(cherry picked from commit 70a18558c6b0a02b633fd8974f002cdf3cdc713e)
Diffstat (limited to 'hw/xquartz/darwinEvents.h')
-rw-r--r-- | hw/xquartz/darwinEvents.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/hw/xquartz/darwinEvents.h b/hw/xquartz/darwinEvents.h index 9ec3bda2f..126851422 100644 --- a/hw/xquartz/darwinEvents.h +++ b/hw/xquartz/darwinEvents.h @@ -78,7 +78,15 @@ enum { /* Send one of the above events to the server thread. */ void DarwinSendDDXEvent(int type, int argc, ...); -extern int darwin_modifier_mask_list[]; -extern int darwin_modifier_flags; +/* A mask of the modifiers that are in our X11 keyboard layout: + * (Fn for example is just useful for 3button mouse emulation) */ +extern int darwin_all_modifier_mask; + +/* A mask of the modifiers that are in our X11 keyboard layout: + * (Fn for example is just useful for 3button mouse emulation) */ +extern int darwin_x11_modifier_mask; + +/* The current state of the above listed modifiers */ +extern int darwin_all_modifier_flags; #endif /* _DARWIN_EVENTS_H */ |