Cmd+Return no longer opens focused link in new tab, events getting sent to wrong widget. Also fixes embedding bug 415437. b=358379 r=masayuki sr=roc
git-svn-id: svn://10.0.0.236/trunk@244976 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9d324fbda2
commit
f5a36619c2
@ -4069,8 +4069,8 @@ static BOOL keyUpAlreadySentKeyDown = NO;
|
||||
if (!mGeckoChild)
|
||||
return YES;
|
||||
|
||||
// return 'NO' if we are in a transaction of IME.
|
||||
if (nsTSMManager::IsComposing())
|
||||
// Return 'NO' if we are in a transaction of IME or we are not the first responder.
|
||||
if (nsTSMManager::IsComposing() || [[self window] firstResponder] != self)
|
||||
return NO;
|
||||
|
||||
// see if the menu system will handle the event
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user