aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-10 20:55:14 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commit535104db2709504bf54766cefe172bc2e306f325 (patch)
tree89230a32ac87f10f46344c56fea233a2453c14c0
parent34e1413cda0c4475d9cfa45730eaf8e1cb843cb0 (diff)
downloadnx-libs-535104db2709504bf54766cefe172bc2e306f325.tar.gz
nx-libs-535104db2709504bf54766cefe172bc2e306f325.tar.bz2
nx-libs-535104db2709504bf54766cefe172bc2e306f325.zip
Clipboard.c: use NXAGENT_ONSTART macro on one more location
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 49c10a947..68ad68345 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -3239,6 +3239,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
return False;
}
+#ifdef NXAGENT_ONSTART
/* This is probably to communicate with nomachine nxclient. */
#ifdef TEST
fprintf(stderr, "%s: Setting owner of selection [%d][%s] to serverWindow [0x%lx]\n", __func__,
@@ -3246,6 +3247,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
#endif
XSetSelectionOwner(nxagentDisplay, serverTransToAgentProperty, serverWindow, CurrentTime);
+#endif
if (XQueryExtension(nxagentDisplay,
"XFIXES",