[X2Go-Commits] [nx-libs] 22/28: Clipboard.c: fix some comments

git-admin at x2go.org git-admin at x2go.org
Mon May 16 22:01:47 CEST 2022


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 5ec4d7b8ae0c50ef5f7463f4d622597ab9fb37bc
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Nov 15 10:48:47 2021 +0100

    Clipboard.c: fix some comments
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index fe0267ab5..a45cab01e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -877,8 +877,9 @@ void invalidateTargetCaches(void)
 
 /*
  * This is called from Events.c dispatch loop on reception of a
- * SelectionClear event. We receive this event if someone on the real
- * X server claims the selection ownership we have/had.
+ * SelectionClear or XFixes selection event from the real X
+ * server. We receive this event if someone on the real X server
+ * claims the selection ownership we have/had.
  * Three versions of this routine with different parameter types.
  */
 void nxagentHandleSelectionClearFromXServerByIndex(int index)
@@ -1144,7 +1145,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
        * SelectionRequests. Further it can happen that multiple
        * clients are interested in clipboard content. If we already
        * know the answer and no intermediate SelectionOwner event
-       * occured we can answer with the cached list of targets.
+       * occurred we can answer with the cached list of targets.
        */
 
       if (targetCache[index].type == FOR_REMOTE && targetCache[index].forRemote)
@@ -2642,7 +2643,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
        * SelectionRequests. Further it can happen that multiple
        * clients are interested in clipboard content. If we already
        * know the answer and no intermediate SelectionOwner event
-       * occured we can answer with the cached list of targets.
+       * occurred we can answer with the cached list of targets.
        */
 
       if (targetCache[index].type == FOR_LOCAL && targetCache[index].forLocal)

--
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