From 32b97bb9e0d91522a76c984b594be35343bf9fe3 Mon Sep 17 00:00:00 2001 From: Masahiro Nakamura Date: Sat, 14 Nov 2020 17:55:16 +0900 Subject: [PATCH] Ignore modifiers when processing WM_IME_CHAR messages * src/w32fns.c (w32_wnd_proc): Ignore modifiers when processing WM_IME_CHAR messages. --- src/w32fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32fns.c b/src/w32fns.c index bbf43717bd1..96cf34430d4 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -4576,7 +4576,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) int size, i; W32Msg wmsg; HIMC context = get_ime_context_fn (hwnd); - wmsg.dwModifiers = w32_get_key_modifiers (wParam, lParam); + wmsg.dwModifiers = 0; /* Get buffer size. */ size = get_composition_string_fn (context, GCS_RESULTSTR, NULL, 0); buffer = alloca (size); -- 2.39.2