aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-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))
{