From 83ae392d59260da66eed3cc472a0b3af5f00ad47 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 14 Jan 2022 08:52:53 +0800 Subject: [PATCH] Refresh keyboard mapping upon receiving new XKB map * src/xterm.c (handle_one_xevent): Call XkbRefreshKeyboardMapping where required. --- src/xterm.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2