aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-21 23:14:25 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-07-05 22:21:59 +0200
commit8264b03e8df725c475e43faf34a681a199f6fa7e (patch)
tree8e011dc4c7bf90b2b60b768c1a9729919a368d58 /nx-X11
parent9874023096b1940ef3df0756a0ec81d5d57e09c2 (diff)
downloadnx-libs-8264b03e8df725c475e43faf34a681a199f6fa7e.tar.gz
nx-libs-8264b03e8df725c475e43faf34a681a199f6fa7e.tar.bz2
nx-libs-8264b03e8df725c475e43faf34a681a199f6fa7e.zip
Clipboard.c: Add debug output when selection is already cleared
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 3b08c1133..72ca6ac64 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -931,6 +931,12 @@ void nxagentHandleSelectionClearFromXServerByIndex(int index)
invalidateTargetCache(index);
}
+ else
+ {
+ #ifdef DEBUG
+ fprintf(stderr, "%s: selection already cleared - doing nothing.\n", __func__);
+ #endif
+ }
}
void nxagentHandleSelectionClearFromXServerByAtom(XlibAtom sel)