forked from bartvdbraak/blender
IME: Fix Multi-Window Duplicated First Character
Fix problem with duplicated initial character when initiating or switching to new windows. This is done by updating our copies of state and modes from the new window when it receives WM_IME_SETCONTEXT message. This problem and fix are only for the Windows platform.
This commit is contained in:
parent
bfff9ca5f1
commit
73b1ad1920
@ -1472,6 +1472,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||
case WM_IME_SETCONTEXT: {
|
||||
GHOST_ImeWin32 *ime = window->getImeInput();
|
||||
ime->UpdateInputLanguage();
|
||||
ime->UpdateConversionStatus(hwnd);
|
||||
ime->CreateImeWindow(hwnd);
|
||||
ime->CleanupComposition(hwnd);
|
||||
ime->CheckFirst(hwnd);
|
||||
|
Loading…
Reference in New Issue
Block a user