aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-09-22 23:19:55 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:50 +0200
commit4701db7bcf0c66f153c172aa9a31197ab4a48bbd (patch)
tree3278b5e7f9b781209efc9b8eda0cfa5c2a190014 /nx-X11
parente8b00edb59400d63d3c849dee6a2705228815e97 (diff)
downloadnx-libs-4701db7bcf0c66f153c172aa9a31197ab4a48bbd.tar.gz
nx-libs-4701db7bcf0c66f153c172aa9a31197ab4a48bbd.tar.bz2
nx-libs-4701db7bcf0c66f153c172aa9a31197ab4a48bbd.zip
Clipboard.c: improve debug/test messages
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c9
1 files 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