From d337aad50b46c762b3bdf92e34ebc143a898c7a3 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 24 Jun 2002 00:39:35 +0000 Subject: [PATCH] (XTread_socket): Disable composition handling. --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) 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) require = decoding_buffer_size (&coding, nbytes); p = (unsigned char *) alloca (require); coding.mode |= CODING_MODE_LAST_BLOCK; + /* We explicitely disable composition + handling because key data should + not contain any composition + sequence. */ + coding.composing = COMPOSITION_DISABLED; decode_coding (&coding, copy_bufptr, p, nbytes, require); nbytes = coding.produced; -- 2.39.2