зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 22581, force IME to commit when we lost focus. r=nhotta
This commit is contained in:
Родитель
9f0327cb29
Коммит
60519a08b4
|
@ -119,6 +119,7 @@ void nsMacEventDispatchHandler::SetFocus(nsWindow *aFocusedWidget)
|
|||
// tell the old widget it is not focused
|
||||
if (mActiveWidget)
|
||||
{
|
||||
mActiveWidget->ResetInputState();
|
||||
mActiveWidget->RemoveDeleteObserver(this);
|
||||
DispatchGuiEvent(mActiveWidget, NS_LOSTFOCUS);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче