Commit 752a043f authored by Jim Blandy's avatar Jim Blandy
Browse files

* xterm.c (XTread_socket): Turn off ControlMask for XLookupString.

	* keyboard.c (make_lispy_event): Controlify here.
parent f64ba6ea
......@@ -2829,6 +2829,10 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment