aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-11-25 00:26:16 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commit1fd98b193c3f4cadb227017bb3434d1fd2c37a13 (patch)
tree3ef275d4529d67f1622e89dd1c58edb470336baf /nx-X11
parentff4a1967c0f98db79611d1bbf426fd7cebff0abd (diff)
downloadnx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.tar.gz
nx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.tar.bz2
nx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.zip
Clipboard.c: add another FIXME
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 5 insertions, 1 deletions
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__);