From: Kenichi Handa Date: Tue, 9 Jul 2002 00:00:18 +0000 (+0000) Subject: (XTread_socket): Disable composition handling. X-Git-Tag: emacs-pretest-21.2.91~185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7bbc42e73643159fe10491b27f9f9be61376409;p=emacs.git (XTread_socket): Disable composition handling. --- 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;