diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-11-21 23:57:10 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 23:36:02 +0100 |
commit | 15ef708747d26bef2a7ecb28130724a35b6637a5 (patch) | |
tree | 6810b0c64307ad93cfd0baa2cdc3a89c6b2ccbe9 | |
parent | 5d1577abed04e7ea413616232248c7058f960492 (diff) | |
download | nx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.tar.gz nx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.tar.bz2 nx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.zip |
Clipboard.c: describe nxagentFind*Index
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 44948859d..19ad34ee8 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -598,6 +598,10 @@ void nxagentClearClipboard(ClientPtr pClient, WindowPtr pWindow) nxagentPrintClipboardStat("after nxagentClearClipboard"); } +/* + * Find the index of the lastSelectionOwner with the selection + * sel. sel is an atom on the real X server. + */ int nxagentFindLastSelectionOwnerIndex(XlibAtom sel) { int i = 0; @@ -609,6 +613,10 @@ int nxagentFindLastSelectionOwnerIndex(XlibAtom sel) return i; } +/* + * Find the index of CurrentSelection with the selection + * sel. sel is an internal atom. + */ int nxagentFindCurrentSelectionIndex(Atom sel) { int i = 0; |