aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-04 00:30:21 +0200
committerUlrich Sibiller <uli42@gmx.de>2019-05-10 19:02:51 +0200
commit3d254765c33c6e206a790bb927690b5026552c3d (patch)
treeec213c36b7c556d177ae4040d493185302bea9f7
parent0312a8cfed0fa8211cb4cbc92a83bfb0233ac3ef (diff)
downloadnx-libs-3d254765c33c6e206a790bb927690b5026552c3d.tar.gz
nx-libs-3d254765c33c6e206a790bb927690b5026552c3d.tar.bz2
nx-libs-3d254765c33c6e206a790bb927690b5026552c3d.zip
NXdispatch.c: add missing change
This change was missing in 239fe3d0802b12ce8947741693244ff8154fa559
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
index 22d5f191e..fab670517 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -1309,6 +1309,9 @@ CloseDownClient(register ClientPtr client)
CallCallbacks((&ClientStateCallback), (void *)&clientinfo);
}
FreeClientResources(client);
+ /* Disable client ID tracking. This must be done after
+ * ClientStateCallback. */
+ ReleaseClientIds(client);
if (client->index < nextFreeClientID)
nextFreeClientID = client->index;
clients[client->index] = NullClient;