]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Disable composition handling.
authorKenichi Handa <handa@m17n.org>
Tue, 9 Jul 2002 00:00:18 +0000 (00:00 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 9 Jul 2002 00:00:18 +0000 (00:00 +0000)
src/xterm.c

index 0a34d64ff4ee513753d95eed53d3f3b218ae7f4d..62ae36cd0693712ee0bd70ca1c2aa5bd924a2e36 100644 (file)
@@ -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;