aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index d96a9946a..17b14f728 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1517,7 +1517,7 @@ static void transferSelectionFromXServer(int index, int resource)
fprintf(stderr, "%s: Getting property content from remote server.\n", __func__);
#endif
- /* get next free resouce index */
+ /* get next free resource slot */
resource = NXGetCollectPropertyResource(nxagentDisplay);
lastClients[index].resource = resource;
@@ -1532,6 +1532,13 @@ static void transferSelectionFromXServer(int index, int resource)
}
else
{
+ /*
+ * now initiate kind of an asynchronuos GetProperty()
+ * call. Once the property has been retrieved we will
+ * receive an NXCollectPropertyNotify event which will then
+ * be handled in
+ * nxagentCollectPropertyEventFromXServer().
+ */
result = NXCollectProperty(nxagentDisplay,
resource,
serverWindow,