changeset 2923:c8997402dd6b

(x_find_modifier_meanings): If some keys are meta and alt, make them just meta, not alt.
author Richard M. Stallman <rms@gnu.org>
date Thu, 20 May 1993 13:43:48 +0000
parents 7fa859245bd4
children 6e233798a3f7
files src/xterm.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu May 20 06:30:20 1993 +0000
+++ b/src/xterm.c	Thu May 20 13:43:48 1993 +0000
@@ -1505,6 +1505,13 @@
       x_alt_mod_mask = 0;
     }
 
+  /* If some keys are both alt and meta,
+     make them just meta, not alt.  */
+  if (x_alt_mod_mask & x_meta_mod_mask)
+    {
+      x_alt_mod_mask &= ~x_meta_mod_mask;
+    }
+  
   XFree ((char *) syms);
   XFreeModifiermap (mods);
 }