From: Masahiro Nakamura Date: Sat, 14 Nov 2020 08:55:16 +0000 (+0900) Subject: Ignore modifiers when processing WM_IME_CHAR messages X-Git-Tag: emacs-27.1.90~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32b97bb9e0d91522a76c984b594be35343bf9fe3;p=emacs.git Ignore modifiers when processing WM_IME_CHAR messages * src/w32fns.c (w32_wnd_proc): Ignore modifiers when processing WM_IME_CHAR messages. --- 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);