1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

Update modifier meanings even if an xkb_desc was not available

* src/xterm.c (handle_one_event): Always update modifiers after
the keyboard mapping is refreshed.
This commit is contained in:
Po Lu 2022-01-16 13:46:39 +08:00
parent c59e870cce
commit e2b9f3347e

View file

@ -11526,8 +11526,6 @@ handle_one_xevent (struct x_display_info *dpyinfo,
XkbFreeKeyboard (dpyinfo->xkb_desc, XkbAllComponentsMask, True);
dpyinfo->xkb_desc = NULL;
}
x_find_modifier_meanings (dpyinfo);
}
else
{
@ -11545,6 +11543,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
}
XkbRefreshKeyboardMapping (&xkbevent->map);
x_find_modifier_meanings (dpyinfo);
}
}
#endif