summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 33b3c564..725f70bd 100644
--- a/client.c
+++ b/client.c
@@ -408,6 +408,7 @@ void
unmanage(Client *c) {
Client *nc;
+ /* The server grab construct avoids race conditions. */
XGrabServer(dpy);
XSetErrorHandler(xerrordummy);