mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 23:11:18 +00:00
move back to NSCommandKey for keyEquivalents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5009 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3e55046a7d
commit
f185b5ac43
1 changed files with 2 additions and 2 deletions
|
@ -1268,12 +1268,12 @@ static NSRecursiveLock *windowsLock;
|
|||
}
|
||||
|
||||
// Try to process the event as a key equivalent
|
||||
// without Control having being pressed
|
||||
// without Command having being pressed
|
||||
{
|
||||
NSEvent *new_event
|
||||
= [NSEvent keyEventWithType: [theEvent type]
|
||||
location: NSZeroPoint
|
||||
modifierFlags: ([theEvent modifierFlags] | NSControlKeyMask)
|
||||
modifierFlags: ([theEvent modifierFlags] | NSCommandKeyMask)
|
||||
timestamp: [theEvent timestamp]
|
||||
windowNumber: [theEvent windowNumber]
|
||||
context: [theEvent context]
|
||||
|
|
Loading…
Reference in a new issue