aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-21 22:26:12 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-21 22:34:28 +0200
commitbbf9d74c40354974cdb6023ade47bf7d8be26330 (patch)
treefed66ee97963acb136d0af3725184842bf6e81d1
parent65d29df13fc4c955ddf60a200d41d8be7283c505 (diff)
downloadnx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.tar.gz
nx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.tar.bz2
nx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.zip
Clipboard.c: print debug message if selection is already cleared
-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 09c7eb2c2..20a380817 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -927,6 +927,12 @@ void nxagentHandleSelectionClearFromXServer(XEvent *X)
invalidateTargetCache(index);
}
+ #ifdef DEBUG
+ else
+ {
+ fprintf(stderr, "%s: selection already cleared - doing nothing.\n", __func__);
+ }
+ #endif
}
}