changeset 2881:11eced50eaa6

* xterm.c (XTread_socket): Turn off ControlMask for XLookupString. * keyboard.c (make_lispy_event): Controlify here.
author Jim Blandy <jimb@redhat.com>
date Wed, 19 May 1993 00:33:58 +0000
parents 9a78169e44df
children 0990f98b4a6c
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed May 19 00:19:16 1993 +0000
+++ b/src/xterm.c	Wed May 19 00:33:58 1993 +0000
@@ -2829,6 +2829,10 @@
 	      modifiers = event.xkey.state;
 
 	      /* This will have to go some day...  */
+
+	      /* make_lispy_event turns chars into control chars.
+		 Don't do it here because XLookupString is too eager.  */
+	      event.xkey.state &= ~ControlMask;
 	      nbytes =
 		XLookupString (&event.xkey, copy_buffer, 80, &keysym,
 			       &compose_status);