xserver: Branch 'xorg-server-1.4-apple'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Fri Aug 29 03:55:05 PDT 2008
hw/xquartz/X11Application.m | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 25eccf12c89d73b8bce2c9be14841efb230acedc
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date: Fri Aug 29 03:54:55 2008 -0700
XQuartz: xp_is_symbolic_hotkey_event catches the input menu, but not our mainMenu, so we still need to do that the old way.
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m
index 4005c75..9ec95de 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -243,13 +243,15 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
for_x = NO;
DarwinSendDDXEvent(kXquartzToggleFullscreen, 0);
#endif
- } else if(X11EnableKeyEquivalents &&
#if XPLUGIN_VERSION >= 1
+ } else if(X11EnableKeyEquivalents &&
xp_is_symbolic_hotkey_event([e eventRef])) {
-#else
+ swallow_up = [e keyCode];
+ for_x = NO;
+#endif
+ } else if(X11EnableKeyEquivalents &&
[[self mainMenu] performKeyEquivalent:e]) {
for_appkit = NO;
-#endif
swallow_up = [e keyCode];
for_x = NO;
} else {
More information about the xorg-commit
mailing list