Fix duplicated IME input
AFAIK a few IMEs were affected by this so I guess we can now add a few more IMEs to the "officially supported" list. Patch by @randon (thanks again!), minor edits by me.
This commit is contained in:
parent
d26c18c05e
commit
6e72f06069
|
@ -989,6 +989,10 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
|||
eventHandled = true;
|
||||
ime->UpdateImeWindow(hwnd);
|
||||
ime->UpdateInfo(hwnd);
|
||||
if (ime->eventImeData.result_len) {
|
||||
/* remove redundant IME event */
|
||||
eventManager->removeTypeEvents(GHOST_kEventImeComposition, window);
|
||||
}
|
||||
event = processImeEvent(
|
||||
GHOST_kEventImeComposition,
|
||||
window,
|
||||
|
|
Loading…
Reference in New Issue