From 15ef708747d26bef2a7ecb28130724a35b6637a5 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 21 Nov 2019 23:57:10 +0100 Subject: Clipboard.c: describe nxagentFind*Index --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nx-X11/programs/Xserver/hw') 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; -- cgit v1.2.3