mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
#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:
parent
b62c0cc5a9
commit
2777ed01ad
@ -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)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user