[X2Go-Commits] [nx-libs] 376/429: Clipboard.c: add another FIXME
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:37:11 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 1fd98b193c3f4cadb227017bb3434d1fd2c37a13
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Wed Nov 25 00:26:16 2020 +0100
Clipboard.c: add another FIXME
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index d46d4c7fc..682dfbab0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -2163,7 +2163,11 @@ static void setSelectionOwnerOnXServer(Selection *pSelection)
/*
FIXME
- if (XGetSelectionOwner(nxagentDisplay,pSelection->selection) == serverWindow)
+FIXME2: instead of XGetSelectionOwner we could check if the Xfixes
+ SetSelectionOwner event has arrived in the event queue;
+ possibly saving one roundtrip.
+
+ if (XGetSelectionOwner(nxagentDisplay, pSelection->selection) == serverWindow)
{
fprintf (stderr, "%s: SetSelectionOwner OK\n", __func__);
--
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