From 4dc84c0e6b442ed9e96420a39cc29555604a907b Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Wed, 1 Jun 2005 16:33:48 +0000 Subject: [PATCH] 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 --- widget/src/mac/nsMacEventHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widget/src/mac/nsMacEventHandler.cpp b/widget/src/mac/nsMacEventHandler.cpp index e563dde06bc..12d67999b13 100644 --- a/widget/src/mac/nsMacEventHandler.cpp +++ b/widget/src/mac/nsMacEventHandler.cpp @@ -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);