зеркало из https://github.com/mozilla/gecko-dev.git
Bug 810959 - Reset text and selection before focus notification; r=cpeterson
This commit is contained in:
Родитель
44257757b5
Коммит
478ddb2b2d
|
@ -2163,14 +2163,14 @@ nsWindow::OnIMEFocusChange(bool aFocus)
|
|||
{
|
||||
ALOGIME("IME: OnIMEFocusChange: f=%d", aFocus);
|
||||
|
||||
AndroidBridge::NotifyIME(AndroidBridge::NOTIFY_IME_FOCUSCHANGE,
|
||||
int(aFocus));
|
||||
|
||||
if (aFocus) {
|
||||
OnIMETextChange(0, INT32_MAX, INT32_MAX);
|
||||
OnIMESelectionChange();
|
||||
}
|
||||
|
||||
AndroidBridge::NotifyIME(AndroidBridge::NOTIFY_IME_FOCUSCHANGE,
|
||||
int(aFocus));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче