commit 5c95883fc06e3a98e51d02a9158f4009b75c724e
parent 8ad160ba585b9d96d5c1326daa2a31af35ad81bd
Author: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 22 Feb 2015 00:00:00 +0000
Fix large pastes
Origin: Fedora, http://pkgs.fedoraproject.org/cgit/rpms/xsel.git/tree/xsel-1.2.0-fix-large-pastes.patch
Bug: http://bugs.debian.org/758599
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xsel.c b/xsel.c
@@ -599,7 +599,8 @@ get_append_property (XSelectionEvent * xsl, unsigned char ** buffer,
debug_property (D_TRACE, xsl->requestor, xsl->property, target, length);
- if (target != XA_STRING && target != utf8_atom) {
+ if (target != XA_STRING && target != utf8_atom &&
+ target != compound_text_atom) {
print_debug (D_OBSC, "target %s not XA_STRING nor UTF8_STRING in get_append_property()",
get_atom_name (target));
free (*buffer);