aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-05 16:08:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:44:07 +0200
commit5de8bac22e710ec6a17789fca88f5f0b49351773 (patch)
tree551fc2d7a7ffe11f0ca1a8c697f42c5ef8db8a04 /nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
parent79867f4a0ee04c40a35402435902abe9849dcd93 (diff)
downloadnx-libs-5de8bac22e710ec6a17789fca88f5f0b49351773.tar.gz
nx-libs-5de8bac22e710ec6a17789fca88f5f0b49351773.tar.bz2
nx-libs-5de8bac22e710ec6a17789fca88f5f0b49351773.zip
Clipboard.c: introduce nxagentFind*Index functions
At some places we were using NumCurrentSelections. We replace that by nxagentMaxSelections because they always have the identical value.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Clipboard.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
index 62fc32fd9..2f43469ae 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
@@ -66,4 +66,5 @@ void nxagentClearSelection();
void nxagentRequestSelection();
void nxagentNotifySelection();
+int nxagentFindCurrentSelectionIndex(Atom sel);
#endif /* __Clipboard_H__ */