diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-11-25 00:26:16 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-06-20 20:12:51 +0200 |
commit | 1fd98b193c3f4cadb227017bb3434d1fd2c37a13 (patch) | |
tree | 3ef275d4529d67f1622e89dd1c58edb470336baf | |
parent | ff4a1967c0f98db79611d1bbf426fd7cebff0abd (diff) | |
download | nx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.tar.gz nx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.tar.bz2 nx-libs-1fd98b193c3f4cadb227017bb3434d1fd2c37a13.zip |
Clipboard.c: add another FIXME
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 |
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__); |