[X2Go-Commits] [nx-libs] 393/429: Clipboard.c: improve comments

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:14 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 1723afb64696c41bdecdbe5c3330eb5e378c24ab
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Tue Mar 2 23:11:44 2021 +0100

    Clipboard.c: improve comments
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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,

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list