aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-03-02 23:11:44 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commit1723afb64696c41bdecdbe5c3330eb5e378c24ab (patch)
tree4c31e6409e670733ddda33de068e6be8c30dbe46 /nx-X11/programs
parent6fe8bf8fbaf955a4bffb98507a1ebeed00aff593 (diff)
downloadnx-libs-1723afb64696c41bdecdbe5c3330eb5e378c24ab.tar.gz
nx-libs-1723afb64696c41bdecdbe5c3330eb5e378c24ab.tar.bz2
nx-libs-1723afb64696c41bdecdbe5c3330eb5e378c24ab.zip
Clipboard.c: improve comments
Diffstat (limited to 'nx-X11/programs')
-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,