diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index b95abdf6c5f..6f314ae9d54 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10685,6 +10685,11 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 10685 | require = decoding_buffer_size (&coding, nbytes); | 10685 | require = decoding_buffer_size (&coding, nbytes); |
| 10686 | p = (unsigned char *) alloca (require); | 10686 | p = (unsigned char *) alloca (require); |
| 10687 | coding.mode |= CODING_MODE_LAST_BLOCK; | 10687 | coding.mode |= CODING_MODE_LAST_BLOCK; |
| 10688 | /* We explicitely disable composition | ||
| 10689 | handling because key data should | ||
| 10690 | not contain any composition | ||
| 10691 | sequence. */ | ||
| 10692 | coding.composing = COMPOSITION_DISABLED; | ||
| 10688 | decode_coding (&coding, copy_bufptr, p, | 10693 | decode_coding (&coding, copy_bufptr, p, |
| 10689 | nbytes, require); | 10694 | nbytes, require); |
| 10690 | nbytes = coding.produced; | 10695 | nbytes = coding.produced; |