aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-02-13 22:10:47 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:21 +0200
commita92467f3c69d5d68190308fc6ce87a4c38ce8e76 (patch)
treefeff366d1f6da5d9e3d3c26fb35b57bcc1edb2d1
parentc0e8cb06943e1a7c6bf280fbd2cee71757349b91 (diff)
downloadnx-libs-a92467f3c69d5d68190308fc6ce87a4c38ce8e76.tar.gz
nx-libs-a92467f3c69d5d68190308fc6ce87a4c38ce8e76.tar.bz2
nx-libs-a92467f3c69d5d68190308fc6ce87a4c38ce8e76.zip
Clipboard.h: add missing externs
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
index a7d22ab97..96821b482 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
@@ -61,9 +61,15 @@ extern void nxagentSetSelectionOwner(Selection *pSelection);
extern int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
Window requestor, Atom property, Atom target, Time time);
-void nxagentClearSelection();
-void nxagentRequestSelection();
-void nxagentHandleSelectionNotifyFromXServer();
+#ifdef XEvent
+extern void nxagentClearSelection(XEvent *X);
+extern void nxagentRequestSelection(XEvent *X);
+extern void nxagentHandleSelectionNotifyFromXServer(XEvent *X);
+#else
+extern void nxagentClearSelection();
+extern void nxagentRequestSelection();
+extern void nxagentHandleSelectionNotifyFromXServer();
+#endif
-int nxagentFindCurrentSelectionIndex(Atom sel);
+extern int nxagentFindCurrentSelectionIndex(Atom sel);
#endif /* __Clipboard_H__ */