#57332, Quick typing erases a converting text

previous patch is incomplete. I forget one part.
Here is it.
p=shotaro  r=shanjian, sr=kin
This commit is contained in:
shanjian%netscape.com 2002-08-14 01:07:05 +00:00
parent b62c0cc5a9
commit 2777ed01ad

View File

@ -198,7 +198,7 @@ nsAppShell::GetNativeEvent(PRBool &aRealEvent, void *&aEvent)
do {
// Give priority to system messages (in particular keyboard, mouse,
// timer, and paint messages).
if (::PeekMessage(&msg, NULL, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE) ||
if (PeekKeyAndIMEMessage(&msg, NULL) ||
::PeekMessage(&msg, NULL, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE) ||
::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {