aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-03 23:15:02 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-02 11:30:36 +0100
commit24c42813d8c2d9ced7233bf97a0026f72067d917 (patch)
treeabe4a1fac91e5aa6a90067edae05ccf4b0995695 /nx-X11/programs/Xserver/dix
parentc02ab70efa7b9927b8459495a5ee11f50b17667c (diff)
downloadnx-libs-24c42813d8c2d9ced7233bf97a0026f72067d917.tar.gz
nx-libs-24c42813d8c2d9ced7233bf97a0026f72067d917.tar.bz2
nx-libs-24c42813d8c2d9ced7233bf97a0026f72067d917.zip
NXdispatch.c: call upstream CloseDownClient()
remove ~80 duplicate lines
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/dispatch.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/dix/dispatch.c b/nx-X11/programs/Xserver/dix/dispatch.c
index 0d4a80e2c..ef3d7b021 100644
--- a/nx-X11/programs/Xserver/dix/dispatch.c
+++ b/nx-X11/programs/Xserver/dix/dispatch.c
@@ -3480,11 +3480,14 @@ InitProcVectors(void)
* then killed again, the client is really destroyed.
*********************/
-#ifndef NXAGENT_SERVER
char dispatchExceptionAtReset = DE_RESET;
void
-CloseDownClient(register ClientPtr client)
+#ifdef NXAGENT_SERVER
+xorg_CloseDownClient(ClientPtr client)
+#else
+CloseDownClient(ClientPtr client)
+#endif
{
Bool really_close_down = client->clientGone ||
client->closeDownMode == DestroyAll;
@@ -3569,7 +3572,6 @@ CloseDownClient(register ClientPtr client)
currentMaxClients--;
}
}
-#endif /* NXAGENT_SERVER */
static void
KillAllClients()