aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
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)