aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)