aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-07-23 21:29:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:10:05 +0200
commitb8751fca890b9714450b158d8405850c6856a753 (patch)
tree0408d8a58cbc283f18c736413f46b529f63afff8
parent1f71a75f583c54b07a62f181d7301ffa1ade55e8 (diff)
downloadnx-libs-b8751fca890b9714450b158d8405850c6856a753.tar.gz
nx-libs-b8751fca890b9714450b158d8405850c6856a753.tar.bz2
nx-libs-b8751fca890b9714450b158d8405850c6856a753.zip
Atoms.c: remove unused parameter from nxagentInitAtoms
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.h2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXwindow.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index a52cb9658..e65ddaac3 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -177,7 +177,7 @@ void nxagentWMDetect()
finishWMDetection(verbose);
}
-int nxagentInitAtoms(WindowPtr pWin)
+int nxagentInitAtoms()
{
/*
* Value of nxagentAtoms[8] is "NX_AGENT_SIGNATURE".
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.h b/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
index 391e06181..2e11c7c69 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
@@ -41,7 +41,7 @@ extern Bool nxagentWMIsRunning;
* to the agent server.
*/
-int nxagentInitAtoms(WindowPtr pWin);
+int nxagentInitAtoms();
/*
* Query and create all the required atoms
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c
index 3dcb552e5..c4991b014 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c
@@ -204,7 +204,7 @@ InitRootWindow(WindowPtr pWin)
fprintf(stderr, "InitRootWindow: Mapping default windows.\n");
#endif
- nxagentInitAtoms(pWin);
+ nxagentInitAtoms();
nxagentInitClipboard(pWin);