emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 32b97bb 1/2: Ignore modifiers when processing WM_IME_CHAR messa


From: Eli Zaretskii
Subject: emacs-27 32b97bb 1/2: Ignore modifiers when processing WM_IME_CHAR messages
Date: Sat, 21 Nov 2020 03:16:49 -0500 (EST)

branch: emacs-27
commit 32b97bb9e0d91522a76c984b594be35343bf9fe3
Author: Masahiro Nakamura <tsuucat@icloud.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 bbf4371..96cf344 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]