mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Bug 283827 When turn on IME and switch applications before fix characters, location bar doesn't accept any more character
patch by katsuhiromihara@goo.jp r=pinkerton sr=smfr a=asa
This commit is contained in:
parent
4015f70115
commit
2f42bb8e81
@ -1361,6 +1361,9 @@ if (KeyDown(0x39)) // press [caps lock] to start the profile
|
|||||||
// Deactivate the TSMDocument assoicated with this EventHandler
|
// Deactivate the TSMDocument assoicated with this EventHandler
|
||||||
//
|
//
|
||||||
if (mTSMDocument) {
|
if (mTSMDocument) {
|
||||||
|
// We should call FixTSMDocument() before deactivate the window.
|
||||||
|
// see http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=4135
|
||||||
|
ResetInputState();
|
||||||
// make sure we do not use input widnow even some other code turn it for default by calling
|
// make sure we do not use input widnow even some other code turn it for default by calling
|
||||||
// ::UseInputWindow(nsnull, TRUE);
|
// ::UseInputWindow(nsnull, TRUE);
|
||||||
::UseInputWindow(mTSMDocument, FALSE);
|
::UseInputWindow(mTSMDocument, FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user