diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-11-15 10:48:47 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-11-18 22:46:04 +0100 |
commit | 5ec4d7b8ae0c50ef5f7463f4d622597ab9fb37bc (patch) | |
tree | 1e8d28766a26ded7432cb8b5a37960596bacdeb8 | |
parent | ce978228048bd67707a7600581cb2eebeae4d0bb (diff) | |
download | nx-libs-5ec4d7b8ae0c50ef5f7463f4d622597ab9fb37bc.tar.gz nx-libs-5ec4d7b8ae0c50ef5f7463f4d622597ab9fb37bc.tar.bz2 nx-libs-5ec4d7b8ae0c50ef5f7463f4d622597ab9fb37bc.zip |
Clipboard.c: fix some comments
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 |
1 files 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) |