aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-05 16:48:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:44:08 +0200
commit5e2487108e8f663752c94023568c5354c0df721b (patch)
treeafa8eea67cafb62319694cb1cf0fc5e38684dee7
parentf99f52772241891779441318b953f6d2c987fe83 (diff)
downloadnx-libs-5e2487108e8f663752c94023568c5354c0df721b.tar.gz
nx-libs-5e2487108e8f663752c94023568c5354c0df721b.tar.bz2
nx-libs-5e2487108e8f663752c94023568c5354c0df721b.zip
Clipboard.c: TIMESTAMP is a special server target
This is not a functional change, it only helps in clearer debugging output.
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index ea1e4192e..7f3dec05e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -458,6 +458,13 @@ Bool nxagentValidServerTargets(Atom target)
#endif
return False;
}
+ else if (target == serverTIMESTAMP)
+ {
+ #ifdef DEBUG
+ fprintf(stderr, "%s: special target [TIMESTAMP].\n", __func__);
+ #endif
+ return False;
+ }
#ifdef DEBUG
fprintf(stderr, "%s: invalid target [%u].\n", __func__, target);