mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1130028 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl
This commit is contained in:
parent
9cc060565d
commit
9057a8ed29
@ -115,6 +115,11 @@ this.Keyboard = {
|
||||
// The application has been closed unexpectingly. Let's tell the
|
||||
// keyboard app that the focus has been lost.
|
||||
this.sendToKeyboard('Keyboard:FocusChange', { 'type': 'blur' });
|
||||
// Notify system app to hide keyboard.
|
||||
SystemAppProxy.dispatchEvent({
|
||||
type: 'inputmethod-contextchange',
|
||||
inputType: 'blur'
|
||||
});
|
||||
}
|
||||
} else {
|
||||
// Ignore notifications that aren't from a BrowserOrApp
|
||||
|
Loading…
Reference in New Issue
Block a user