Refresh keyboard mapping upon receiving new XKB map

* src/xterm.c (handle_one_xevent): Call
XkbRefreshKeyboardMapping where required.
This commit is contained in:
Po Lu 2022-01-14 08:52:53 +08:00
parent 53dba32022
commit 83ae392d59

View file

@ -11461,6 +11461,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
x_find_modifier_meanings (dpyinfo);
}
XkbRefreshKeyboardMapping (&xkbevent->map);
}
}
#endif