]> git.eshelyaron.com Git - emacs.git/commitdiff
Respect `extra-keyboard-modifiers' when handling XI2 keyboard input
authorPo Lu <luangruo@yahoo.com>
Mon, 21 Feb 2022 01:33:54 +0000 (09:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 21 Feb 2022 01:33:54 +0000 (09:33 +0800)
* src/xterm.c (handle_one_xevent): Add extra modifiers to
XI2 keyboard state.

src/xterm.c

index 22f27700f61d470b9ccd340fbef6f58a277110d3..6d498ad38198fcd3a8fd5ba263f8f46e2c123499 100644 (file)
@@ -11572,6 +11572,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                }
 #endif
 
+             state |= x_emacs_to_x_modifiers (dpyinfo, extra_keyboard_modifiers);
+
 #ifdef HAVE_XKB
              if (FRAME_DISPLAY_INFO (f)->xkb_desc)
                {