diff options
| author | Richard M. Stallman | 1993-05-20 13:43:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-20 13:43:48 +0000 |
| commit | 148c4b70c25a2c85d5cafcef8200e5aa9c5a6fe0 (patch) | |
| tree | 70d8d896fb7ff4a70adc29ad7d4feb0c7f5e5a6f /src | |
| parent | b2aaf43a08b89701e3d425c103417293d2647c84 (diff) | |
| download | emacs-148c4b70c25a2c85d5cafcef8200e5aa9c5a6fe0.tar.gz emacs-148c4b70c25a2c85d5cafcef8200e5aa9c5a6fe0.zip | |
(x_find_modifier_meanings): If some keys are meta and alt,
make them just meta, not alt.
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 | } |