From 535104db2709504bf54766cefe172bc2e306f325 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 10 Jun 2021 20:55:14 +0200 Subject: Clipboard.c: use NXAGENT_ONSTART macro on one more location --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- cgit v1.2.3