aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-10-10 01:15:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-10-27 20:55:02 +0200
commit1c4c9f60978d5ef13e10e85ec2ce18898196177b (patch)
treea8906a9a904445208f2e97216554f1ce6a74a644 /nx-X11
parent1af67b4df234cb1a702554289d4319f904aaef31 (diff)
downloadnx-libs-1c4c9f60978d5ef13e10e85ec2ce18898196177b.tar.gz
nx-libs-1c4c9f60978d5ef13e10e85ec2ce18898196177b.tar.bz2
nx-libs-1c4c9f60978d5ef13e10e85ec2ce18898196177b.zip
Clipboard.c: more debugging info for nxagentGetClipboardWindow()
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 9cf541e9a..ae73f36e5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1619,7 +1619,7 @@ WindowPtr nxagentGetClipboardWindow(Atom property, WindowPtr pWin)
int i = 0;
#ifdef DEBUG
- fprintf(stderr, "nxagentGetClipboardWindow: Got called.\n");
+ fprintf(stderr, "%s: Got called, property [%d][%s] window [%p].\n", __func__, property, NameForAtom(property), pWin);
#endif
while ((i < nxagentMaxSelections) &&
@@ -1632,7 +1632,7 @@ WindowPtr nxagentGetClipboardWindow(Atom property, WindowPtr pWin)
(lastSelectionOwner[i].windowPtr != NULL))
{
#ifdef DEBUG
- fprintf(stderr, "nxagentGetClipboardWindow: Returning last clipboard owner window.\n");
+ fprintf(stderr, "%s: Returning last clipboard owner window [%p].\n", __func__, lastSelectionOwner[i].windowPtr);
#endif
return lastSelectionOwner[i].windowPtr;
@@ -1640,7 +1640,7 @@ WindowPtr nxagentGetClipboardWindow(Atom property, WindowPtr pWin)
else
{
#ifdef DEBUG
- fprintf(stderr, "nxagentGetClipboardWindow: Returning original target window.\n");
+ fprintf(stderr, "%s: Returning original target window [%p].\n", __func__, pWin);
#endif
return pWin;