diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-10-16 00:20:41 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-10-27 20:55:02 +0200 |
commit | f8bfdc87b3ba200f5cb9dba85682a445174209ba (patch) | |
tree | e896206ba5035346b6739872404d8fa99edd75ff /nx-X11 | |
parent | 5d26addd3df578b057e9820015018d019a85296f (diff) | |
download | nx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.tar.gz nx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.tar.bz2 nx-libs-f8bfdc87b3ba200f5cb9dba85682a445174209ba.zip |
Clipboard.c: improve nxagentClearSelection() debug code
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 |
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)) { |