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:
timeless%mozdev.org 2005-06-01 16:33:48 +00:00
Родитель 6568313dc4
Коммит 4dc84c0e6b
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1361,6 +1361,9 @@ if (KeyDown(0x39)) // press [caps lock] to start the profile
// Deactivate the TSMDocument assoicated with this EventHandler
//
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
// ::UseInputWindow(nsnull, TRUE);
::UseInputWindow(mTSMDocument, FALSE);