mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 430419 Command-Option-F does not select search box #2 r=josh, sr=roc, a=dsicore
This commit is contained in:
parent
458a72eba7
commit
acc59dacc6
@ -4868,7 +4868,11 @@ static BOOL keyUpAlreadySentKeyDown = NO;
|
||||
// happen if we return NO here. This only applies to Mac OS X 10.5 and higher,
|
||||
// previous OS versions just call "keyDown:" and not "performKeyEquivalent:"
|
||||
// for such events.
|
||||
if ((modifierFlags & NSControlKeyMask) || (modifierFlags & NSAlternateKeyMask))
|
||||
// However, if Cmd key is pressed, this event should not be for changing the
|
||||
// input sources. Then, "keyDown:" will be never called by platform. So, we
|
||||
// must call "processKeyDownEvent:" ourselves.
|
||||
if (!(modifierFlags & NSCommandKeyMask) &&
|
||||
(modifierFlags & (NSControlKeyMask | NSAlternateKeyMask)))
|
||||
return NO;
|
||||
|
||||
if ([theEvent type] == NSKeyDown) {
|
||||
|
Loading…
Reference in New Issue
Block a user