зеркало из https://github.com/mozilla/pjs.git
if we send a gecko event into gecko from performKeyEvent, assume it was handled despite any return value. b=376077 r=masayuki sr=roc
This commit is contained in:
Родитель
9620615b79
Коммит
5b45b77b09
|
@ -4106,7 +4106,11 @@ static BOOL keyUpAlreadySentKeyDown = NO;
|
|||
ConvertCocoaKeyEventToMacEvent(theEvent, macEvent);
|
||||
geckoEvent.nativeMsg = &macEvent;
|
||||
|
||||
return (BOOL)mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
|
||||
// We always return YES here because we can't know for sure if Gecko
|
||||
// handled the event, even with the return value for the event dispatch.
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче