mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 21:40:05 +01:00
XQuartz: Support windowItemModMask=0 or -1 to disable window shortcuts.
(cherry picked from commit 81187364e5)
This commit is contained in:
parent
fcfc05482a
commit
f2ec79e4a1
1 changed files with 4 additions and 1 deletions
|
|
@ -139,7 +139,10 @@
|
|||
|
||||
name = [[list objectAtIndex:i] objectAtIndex:0];
|
||||
shortcut = [[list objectAtIndex:i] objectAtIndex:1];
|
||||
|
||||
|
||||
if(windowItemModMask == 0 || windowItemModMask == -1)
|
||||
shortcut = @"";
|
||||
|
||||
item = (NSMenuItem *) [menu addItemWithTitle:name action:@selector
|
||||
(item_selected:) keyEquivalent:shortcut];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue