comparison src/xterm.c @ 45986:8554a859e957

(XTread_socket): Disable composition handling.
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Jun 2002 00:39:35 +0000
parents 9484de301252
children 819af351608b
comparison
equal deleted inserted replaced
45985:5be0ff42cd30 45986:8554a859e957
10683 unsigned char *p; 10683 unsigned char *p;
10684 10684
10685 require = decoding_buffer_size (&coding, nbytes); 10685 require = decoding_buffer_size (&coding, nbytes);
10686 p = (unsigned char *) alloca (require); 10686 p = (unsigned char *) alloca (require);
10687 coding.mode |= CODING_MODE_LAST_BLOCK; 10687 coding.mode |= CODING_MODE_LAST_BLOCK;
10688 /* We explicitely disable composition
10689 handling because key data should
10690 not contain any composition
10691 sequence. */
10692 coding.composing = COMPOSITION_DISABLED;
10688 decode_coding (&coding, copy_bufptr, p, 10693 decode_coding (&coding, copy_bufptr, p,
10689 nbytes, require); 10694 nbytes, require);
10690 nbytes = coding.produced; 10695 nbytes = coding.produced;
10691 nchars = coding.produced_char; 10696 nchars = coding.produced_char;
10692 copy_bufptr = p; 10697 copy_bufptr = p;