]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Disable composition handling.
authorKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:39:35 +0000 (00:39 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:39:35 +0000 (00:39 +0000)
src/xterm.c

index b95abdf6c5fe70e392103ef357f0111bdbf38b5c..6f314ae9d547759b4295bc2d689a7d8132909dee 100644 (file)
@@ -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;