diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 1646 | coding.dst_multibyte = 1; | 1646 | coding.dst_multibyte = 1; |
| 1647 | Vnext_selection_coding_system = Qnil; | 1647 | Vnext_selection_coding_system = Qnil; |
| 1648 | coding.mode |= CODING_MODE_LAST_BLOCK; | 1648 | coding.mode |= CODING_MODE_LAST_BLOCK; |
| 1649 | /* We explicitely disable composition handling because | ||
| 1650 | selection data should not contain any composition | ||
| 1651 | sequence. */ | ||
| 1652 | coding.composing = COMPOSITION_DISABLED; | ||
| 1649 | bufsize = decoding_buffer_size (&coding, size); | 1653 | bufsize = decoding_buffer_size (&coding, size); |
| 1650 | buf = (unsigned char *) xmalloc (bufsize); | 1654 | buf = (unsigned char *) xmalloc (bufsize); |
| 1651 | decode_coding (&coding, data, buf, size, bufsize); | 1655 | decode_coding (&coding, data, buf, size, bufsize); |