diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index fdecca3bcdb..72c7c05d893 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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; } } |