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:
Nicola Pero 1999-10-14 00:39:46 +00:00
parent 3e55046a7d
commit f185b5ac43

View file

@ -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]