[X2Go-Commits] [nx-libs] 398/429: Clipboard.c: use NXAGENT_ONSTART macro on one more location

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:15 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 535104db2709504bf54766cefe172bc2e306f325
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Thu Jun 10 20:55:14 2021 +0200

    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",

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list