aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index e79c64bfd55..e7e58365491 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3659,7 +3659,8 @@ follow_key (key, nmaps, current, defs, next)
3659 if (XINT (key) & shift_modifier) 3659 if (XINT (key) & shift_modifier)
3660 XSETINT (key, XINT (key) & ~shift_modifier); 3660 XSETINT (key, XINT (key) & ~shift_modifier);
3661 else 3661 else
3662 XSETINT (key, DOWNCASE (XINT (key))); 3662 XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff)
3663 | (XINT (key) & ~0x3ffff)));
3663 3664
3664 first_binding = nmaps; 3665 first_binding = nmaps;
3665 for (i = nmaps - 1; i >= 0; i--) 3666 for (i = nmaps - 1; i >= 0; i--)