aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2002-06-24 00:39:35 +0000
committerKenichi Handa <[email protected]>2002-06-24 00:39:35 +0000
commitd337aad50b46c762b3bdf92e34ebc143a898c7a3 (patch)
tree3659e1ecb4f4d8483acda08b2e62458ee63e3c3e /src/xterm.c
parente1885335709d94912b5f5d15a7df67c45b7b5cdb (diff)
(XTread_socket): Disable composition handling.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b95abdf6c5..6f314ae9d5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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;