From d7bbc42e73643159fe10491b27f9f9be61376409 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 9 Jul 2002 00:00:18 +0000 Subject: [PATCH] (XTread_socket): Disable composition handling. --- src/xterm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 0a34d64ff4e..62ae36cd069 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10569,6 +10569,10 @@ 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.5