diff options
| author | Kenichi Handa | 2002-06-24 00:39:35 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-06-24 00:39:35 +0000 |
| commit | d337aad50b46c762b3bdf92e34ebc143a898c7a3 (patch) | |
| tree | 3659e1ecb4f4d8483acda08b2e62458ee63e3c3e /src | |
| parent | e1885335709d94912b5f5d15a7df67c45b7b5cdb (diff) | |
| download | emacs-d337aad50b46c762b3bdf92e34ebc143a898c7a3.tar.gz emacs-d337aad50b46c762b3bdf92e34ebc143a898c7a3.zip | |
(XTread_socket): Disable composition handling.
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; |