From 9fb12c323e7b8584504bd61b0ace7f201fdbb291 Mon Sep 17 00:00:00 2001 From: Shaojun Li Date: Thu, 4 Jun 2020 14:26:45 +0800 Subject: [PATCH] Disable IME on East Asian localized Windows operating systems. --- src/win/win_ui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/win_ui.c b/src/win/win_ui.c index c4b1271e9..1dfc57527 100644 --- a/src/win/win_ui.c +++ b/src/win/win_ui.c @@ -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); }