# HG changeset patch # User Jim Blandy # Date 737771638 0 # Node ID 11eced50eaa656775cee2362b51c45ec45a17e1e # Parent 9a78169e44df9e196dfc60e5116679cc80cf5488 * xterm.c (XTread_socket): Turn off ControlMask for XLookupString. * keyboard.c (make_lispy_event): Controlify here. diff -r 9a78169e44df -r 11eced50eaa6 src/xterm.c --- 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);