diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 91622d7f27d..d558f394b3e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1505,6 +1505,13 @@ x_find_modifier_meanings () | |||
| 1505 | x_alt_mod_mask = 0; | 1505 | x_alt_mod_mask = 0; |
| 1506 | } | 1506 | } |
| 1507 | 1507 | ||
| 1508 | /* If some keys are both alt and meta, | ||
| 1509 | make them just meta, not alt. */ | ||
| 1510 | if (x_alt_mod_mask & x_meta_mod_mask) | ||
| 1511 | { | ||
| 1512 | x_alt_mod_mask &= ~x_meta_mod_mask; | ||
| 1513 | } | ||
| 1514 | |||
| 1508 | XFree ((char *) syms); | 1515 | XFree ((char *) syms); |
| 1509 | XFreeModifiermap (mods); | 1516 | XFreeModifiermap (mods); |
| 1510 | } | 1517 | } |