summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMasahiro Nakamura <tsuucat@icloud.com>2020-11-14 17:55:16 +0900
committerEli Zaretskii <eliz@gnu.org>2020-11-21 09:50:22 +0200
commit32b97bb9e0d91522a76c984b594be35343bf9fe3 (patch)
tree42b2dc667d6edbe413d9303d6f09b9728bb112e6 /src
parentf641ef1a0712d5ca1a9a6dc39d4f0846b11bc26b (diff)
downloademacs-32b97bb9e0d91522a76c984b594be35343bf9fe3.tar.gz
Ignore modifiers when processing WM_IME_CHAR messages
* src/w32fns.c (w32_wnd_proc): Ignore modifiers when processing WM_IME_CHAR messages.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
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);