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:
parent
c59e870cce
commit
e2b9f3347e
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue