changeset 45985:5be0ff42cd30

(selection_data_to_lisp_data): Disable composition handling.
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Jun 2002 00:37:24 +0000
parents f95eb5f690c3
children 8554a859e957
files src/xselect.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);