changeset 45986:8554a859e957

(XTread_socket): Disable composition handling.
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Jun 2002 00:39:35 +0000
parents 5be0ff42cd30
children 7e5af09c9bc5
files src/xterm.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jun 24 00:37:24 2002 +0000
+++ b/src/xterm.c	Mon Jun 24 00:39:35 2002 +0000
@@ -10685,6 +10685,11 @@
 			    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;