aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-11-21 23:57:10 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:36:02 +0100
commit15ef708747d26bef2a7ecb28130724a35b6637a5 (patch)
tree6810b0c64307ad93cfd0baa2cdc3a89c6b2ccbe9 /nx-X11/programs
parent5d1577abed04e7ea413616232248c7058f960492 (diff)
downloadnx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.tar.gz
nx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.tar.bz2
nx-libs-15ef708747d26bef2a7ecb28130724a35b6637a5.zip
Clipboard.c: describe nxagentFind*Index
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c8
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;