aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-19 00:33:58 +0000
committerJim Blandy1993-05-19 00:33:58 +0000
commit752a043ffa37cb8a652f6913ff94d1e1c8923358 (patch)
tree1ae0e0e3e826343e0ad8f3f446d8a6a490927d0b /src
parentf64ba6ea422f9e85fb661ec1ec62ca6eef7c33c3 (diff)
downloademacs-752a043ffa37cb8a652f6913ff94d1e1c8923358.tar.gz
emacs-752a043ffa37cb8a652f6913ff94d1e1c8923358.zip
* xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
* keyboard.c (make_lispy_event): Controlify here.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 50927c92663..66251846cb9 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2829,6 +2829,10 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2829 modifiers = event.xkey.state; 2829 modifiers = event.xkey.state;
2830 2830
2831 /* This will have to go some day... */ 2831 /* This will have to go some day... */
2832
2833 /* make_lispy_event turns chars into control chars.
2834 Don't do it here because XLookupString is too eager. */
2835 event.xkey.state &= ~ControlMask;
2832 nbytes = 2836 nbytes =
2833 XLookupString (&event.xkey, copy_buffer, 80, &keysym, 2837 XLookupString (&event.xkey, copy_buffer, 80, &keysym,
2834 &compose_status); 2838 &compose_status);