Commit f8bfdc87 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: improve nxagentClearSelection() debug code

parent 5d26addd
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment