[X2Go-Commits] [nx-libs] 325/429: Clipboard.c: improve debug/test messages
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:57 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 4701db7bcf0c66f153c172aa9a31197ab4a48bbd
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Tue Sep 22 23:19:55 2020 +0200
Clipboard.c: improve debug/test messages
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 5a85b0f87..60792bb44 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1032,12 +1032,13 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
sendEventToClient(lastSelectionOwner[index].client, &x);
#ifdef DEBUG
- fprintf(stderr, "%s: sent SelectionRequest event to client %s property [%d][%s]" \
- "target [%d][%s] requestor [0x%x].\n", __func__,
+ fprintf(stderr, "%s: sent SelectionRequest event to client %s property [%d][%s] " \
+ "target [%d][%s] requestor [0x%x] selection [%d][%s].\n", __func__,
nxagentClientInfoString(lastSelectionOwner[index].client),
x.u.selectionRequest.property, NameForAtom(x.u.selectionRequest.property),
x.u.selectionRequest.target, NameForAtom(x.u.selectionRequest.target),
- x.u.selectionRequest.requestor);
+ x.u.selectionRequest.requestor,
+ x.u.selectionRequest.selection, NameForAtom(x.u.selectionRequest.selection));
#endif
}
else
@@ -2377,7 +2378,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
}
#ifdef TEST
- fprintf(stderr, "%s: Setting owner of selection [%d][%s] on window 0x%x\n", __func__,
+ fprintf(stderr, "%s: Setting owner of selection [%d][%s] to serverwindow [0x%x]\n", __func__,
(int) serverTransToAgentProperty, "NX_CUT_BUFFER_SERVER", serverWindow);
#endif
--
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