From: Kenichi Handa Date: Mon, 24 Jun 2002 00:37:24 +0000 (+0000) Subject: (selection_data_to_lisp_data): Disable composition handling. X-Git-Tag: ttn-vms-21-2-B4~14472 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1885335709d94912b5f5d15a7df67c45b7b5cdb;p=emacs.git (selection_data_to_lisp_data): Disable composition handling. --- diff --git a/src/xselect.c b/src/xselect.c index 613d42eeb9f..efeaf89efa5 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1646,6 +1646,10 @@ selection_data_to_lisp_data (display, data, size, type, format) coding.dst_multibyte = 1; Vnext_selection_coding_system = Qnil; coding.mode |= CODING_MODE_LAST_BLOCK; + /* We explicitely disable composition handling because + selection data should not contain any composition + sequence. */ + coding.composing = COMPOSITION_DISABLED; bufsize = decoding_buffer_size (&coding, size); buf = (unsigned char *) xmalloc (bufsize); decode_coding (&coding, data, buf, size, bufsize);