From 7fe81359d46df4b3173c233a7787d81ce322c827 Mon Sep 17 00:00:00 2001
From: Anselm R Garbe <garbeam@gmail.com>
Date: Tue, 8 Sep 2009 13:16:54 +0100
Subject: [PATCH] sync when a client is being killed

---
 dwm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dwm.c b/dwm.c
index a2c1e00..5ea74cb 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1041,6 +1041,7 @@ killclient(const Arg *arg) {
 	}
 	else
 		XKillClient(dpy, selmon->sel->win);
+	XSync(dpy, False);
 }
 
 void