Disable IME on East Asian localized Windows operating systems.

This commit is contained in:
Shaojun Li
2020-06-04 14:26:45 +08:00
committed by David Hrdlička
parent 131a17bb4b
commit 9fb12c323e

View File

@@ -1307,4 +1307,5 @@ plat_set_input(HWND h)
input_orig_proc = GetWindowLongPtr(h, GWLP_WNDPROC);
input_orig_hwnd = h;
SetWindowLongPtr(h, GWLP_WNDPROC, (LONG_PTR)&input_proc);
ImmAssociateContext(h, NULL);
}