xsel

Program for manipulating the X clipboard
git clone https://git.sinitax.com/kfish/xsel
Log | Files | Refs | README | LICENSE | sfeed.txt

commit a63ed7a4d7996b79aa0c810c0c739075a3075c58
parent 3254b787c5ea505585f182c32b7aeaf70767309f
Author: Conrad Parker <conrad@metadecks.org>
Date:   Tue, 14 Nov 2017 05:04:53 +0800

Merge pull request #25 from hyperair/debian-patches

Debian patches
Diffstat:
Mxsel.1x | 6+++---
Mxsel.c | 5+++--
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/xsel.1x b/xsel.1x @@ -106,7 +106,7 @@ fork to become a background process in \fIinput\fR, \fIexchange\fR and display usage information and exit .TP \fB\-v\fR, \fB\-\-verbose\fR -Print informative messages. Additional instances of \fI-v\fR raise the +Print informative messages. Additional instances of \fI\-v\fR raise the debugging level, ie. print more information. .TP \fB\-\-version\fR @@ -122,10 +122,10 @@ mouse button paste. In order to implement modification of the selection(s) from the terminal, spawning a child process to supply the new selection(s) on demand. This child exits immediately when any other program takes over the selection(s), eg. when the user next selects some text in a terminal -window or by running \fBxsel -c\fR. +window or by running \fBxsel \-c\fR. .PP .SH STANDARDS -xsel conforms to the Inter-Client Communication Conventions Manual +xsel conforms to the Inter\-Client Communication Conventions Manual Version 2.0 (ICCCM2). .PP .SH "SEE ALSO" 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); @@ -1330,7 +1331,7 @@ change_property (Display * display, Window requestor, Atom property, it->chunk = MIN (it->max_elements, it->nelements - it->offset); /* Wait for that property to get deleted */ - print_debug (D_TRACE, "Waiting on intial property deletion (%s)", + print_debug (D_TRACE, "Waiting on initial property deletion (%s)", get_atom_name (it->property)); return HANDLE_INCOMPLETE;