aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
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,
12740 { 12740 {
12741 for (i = 0; i < 8 * dpyinfo->modmap->max_keypermod; i++) 12741 for (i = 0; i < 8 * dpyinfo->modmap->max_keypermod; i++)
12742 { 12742 {
12743 if (xkey.keycode == dpyinfo->modmap->modifiermap[xev->detail]) 12743 if (xev->detail == dpyinfo->modmap->modifiermap[i])
12744 goto xi_done_keysym; 12744 goto xi_done_keysym;
12745 } 12745 }
12746 } 12746 }