mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 00:00:06 +01:00
XQuartz: xp_is_symbolic_hotkey_event catches the input menu, but not our mainMenu, so we still need to do that the old way.
(cherry picked from commit 25eccf12c8)
This commit is contained in:
parent
974db58f5b
commit
aee19c7b55
1 changed files with 5 additions and 3 deletions
|
|
@ -244,13 +244,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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue