# HG changeset patch # User Kenichi Handa # Date 1024879044 0 # Node ID 5be0ff42cd30d63dc7a164838119c10359b26793 # Parent f95eb5f690c3829529d5053d6827e835bfc0f328 (selection_data_to_lisp_data): Disable composition handling. diff -r f95eb5f690c3 -r 5be0ff42cd30 src/xselect.c --- a/src/xselect.c Mon Jun 24 00:37:03 2002 +0000 +++ b/src/xselect.c Mon Jun 24 00:37:24 2002 +0000 @@ -1646,6 +1646,10 @@ 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);