mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-02 10:11:05 -08:00
Fix detection of modifier keys on XInput 2
* src/xterm.c (handle_one_xevent): Fix iteration over sets of modifiers.
This commit is contained in:
parent
d0d7765f23
commit
bbbb47704f
1 changed files with 1 additions and 1 deletions
|
|
@ -12740,7 +12740,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
{
|
||||
for (i = 0; i < 8 * dpyinfo->modmap->max_keypermod; i++)
|
||||
{
|
||||
if (xkey.keycode == dpyinfo->modmap->modifiermap[xev->detail])
|
||||
if (xev->detail == dpyinfo->modmap->modifiermap[i])
|
||||
goto xi_done_keysym;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue