aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-10-16 00:20:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-10-27 20:55:02 +0200
commitf8bfdc87b3ba200f5cb9dba85682a445174209ba (patch)
treee896206ba5035346b6739872404d8fa99edd75ff /nx-X11/programs/Xserver
parent5d26addd3df578b057e9820015018d019a85296f (diff)
downloadnx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.tar.gz
nx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.tar.bz2
nx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.zip
Clipboard.c: improve nxagentClearSelection() debug code
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index a7a1cbdf3..a02bd1cee 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -441,7 +441,7 @@ void nxagentClearSelection(XEvent *X)
int i = 0;
#ifdef DEBUG
- fprintf(stderr, "nxagentClearSelection: Got called.\n");
+ fprintf(stderr, "%s: SelectionClear event for selection [%d].\n", __func__, X->xselectionclear.selection);
#endif
nxagentPrintClipboardStat("before nxagentClearSelection");
@@ -452,10 +452,6 @@ void nxagentClearSelection(XEvent *X)
return;
}
- #ifdef DEBUG
- fprintf(stderr, "nxagentClearSelection: SelectionClear event.\n");
- #endif
-
while ((i < nxagentMaxSelections) &&
(lastSelectionOwner[i].selection != X->xselectionclear.selection))
{