diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
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); |