[X2Go-Commits] [nx-libs] 58/108: Clipboard.c: improve nxagentClearSelection() debug code
git-admin at x2go.org
git-admin at x2go.org
Fri Nov 9 20:35:46 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit f8bfdc87b3ba200f5cb9dba85682a445174209ba
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Tue Oct 16 00:20:41 2018 +0200
Clipboard.c: improve nxagentClearSelection() debug code
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index a7a1cbd..a02bd1c 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))
{
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list