mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 414903 Cannot use arrow keys and function keys at using IME r=josh, sr=roc, a1.9b3=beltzner
This commit is contained in:
parent
7011750391
commit
bd53691396
@ -4065,10 +4065,14 @@ static BOOL keyUpAlreadySentKeyDown = NO;
|
||||
if (modifierFlags & NSCommandKeyMask && [theEvent keyCode] == kTildeKeyCode)
|
||||
return NO;
|
||||
|
||||
// don't bother if we don't have a gecko widget or we're in composition
|
||||
if (!mGeckoChild || nsTSMManager::IsComposing())
|
||||
// don't bother if we don't have a gecko widget
|
||||
if (!mGeckoChild)
|
||||
return YES;
|
||||
|
||||
// return 'NO' if we are in a transaction of IME.
|
||||
if (nsTSMManager::IsComposing())
|
||||
return NO;
|
||||
|
||||
// see if the menu system will handle the event
|
||||
if ([[NSApp mainMenu] performKeyEquivalent:theEvent]) {
|
||||
return YES;
|
||||
|
Loading…
Reference in New Issue
Block a user