diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-06-21 23:14:25 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-07-05 22:21:59 +0200 |
commit | 8264b03e8df725c475e43faf34a681a199f6fa7e (patch) | |
tree | 8e011dc4c7bf90b2b60b768c1a9729919a368d58 /nx-X11 | |
parent | 9874023096b1940ef3df0756a0ec81d5d57e09c2 (diff) | |
download | nx-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.c | 6 |
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) |