aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-25 16:03:35 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commitbd6ff1949014852e1c9c00e9a6e5aca1ccdfe514 (patch)
treef98ea99a1e3ff3c30567e34992b8bd579d10b76f
parentf3856e9c750f82ae86dcf2e398926b6a1a7df66f (diff)
downloadnx-libs-bd6ff1949014852e1c9c00e9a6e5aca1ccdfe514.tar.gz
nx-libs-bd6ff1949014852e1c9c00e9a6e5aca1ccdfe514.tar.bz2
nx-libs-bd6ff1949014852e1c9c00e9a6e5aca1ccdfe514.zip
Screen.h: improve NXAGENT_ARTSD prototype definition
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c3
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 4d5132d01..bf4d415f1 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -151,12 +151,9 @@ int nxagentArgc = 0;
char **nxagentArgv = NULL;
#ifdef NXAGENT_ARTSD
-
char mcop_atom[] = "MCOPGLOBALS";
Atom mcop_local_atom = None;
unsigned char fromHexNibble(char c);
-void nxagentPropagateArtsdProperties(ScreenPtr pScreen, char *port);
-
#endif
Window nxagentIconWindow = None;
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.h b/nx-X11/programs/Xserver/hw/nxagent/Screen.h
index f74fd66b6..6d775e1cc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.h
@@ -138,7 +138,9 @@ void nxagentSetWMNormalHintsMaxsize(ScreenPtr, int, int);
void nxagentShadowSetRatio(float, float);
+#ifdef NXAGENT_ARTSD
void nxagentPropagateArtsdProperties(ScreenPtr pScreen, char *port);
+#endif
/*
* Change window settings to adapt to a ratio.