Disable IME on East Asian localized Windows operating systems.
This commit is contained in:
committed by
David Hrdlička
parent
131a17bb4b
commit
9fb12c323e
@@ -1307,4 +1307,5 @@ plat_set_input(HWND h)
|
|||||||
input_orig_proc = GetWindowLongPtr(h, GWLP_WNDPROC);
|
input_orig_proc = GetWindowLongPtr(h, GWLP_WNDPROC);
|
||||||
input_orig_hwnd = h;
|
input_orig_hwnd = h;
|
||||||
SetWindowLongPtr(h, GWLP_WNDPROC, (LONG_PTR)&input_proc);
|
SetWindowLongPtr(h, GWLP_WNDPROC, (LONG_PTR)&input_proc);
|
||||||
|
ImmAssociateContext(h, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user