aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__);