diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-03-02 23:11:44 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-06-20 20:12:51 +0200 |
commit | 1723afb64696c41bdecdbe5c3330eb5e378c24ab (patch) | |
tree | 4c31e6409e670733ddda33de068e6be8c30dbe46 /nx-X11/programs | |
parent | 6fe8bf8fbaf955a4bffb98507a1ebeed00aff593 (diff) | |
download | nx-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.c | 9 |
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, |