From: Po Lu Date: Fri, 14 Jan 2022 00:52:53 +0000 (+0800) Subject: Refresh keyboard mapping upon receiving new XKB map X-Git-Tag: emacs-29.0.90~3086 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=83ae392d59260da66eed3cc472a0b3af5f00ad47;p=emacs.git Refresh keyboard mapping upon receiving new XKB map * src/xterm.c (handle_one_xevent): Call XkbRefreshKeyboardMapping where required. --- diff --git a/src/xterm.c b/src/xterm.c index a74c31c3f6e..ff93e210a1b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11461,6 +11461,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, x_find_modifier_meanings (dpyinfo); } + + XkbRefreshKeyboardMapping (&xkbevent->map); } } #endif