From: Po Lu Date: Mon, 21 Feb 2022 01:33:54 +0000 (+0800) Subject: Respect `extra-keyboard-modifiers' when handling XI2 keyboard input X-Git-Tag: emacs-29.0.90~2190 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e6df01bf1bd393fc0e7aacbda7f56df10ecbe03;p=emacs.git Respect `extra-keyboard-modifiers' when handling XI2 keyboard input * src/xterm.c (handle_one_xevent): Add extra modifiers to XI2 keyboard state. --- diff --git a/src/xterm.c b/src/xterm.c index 22f27700f61..6d498ad3819 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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) {