drawstatus even if no client exists
authorAnselm R. Garbe <arg@10kloc.org>
Wed, 06 Sep 2006 12:10:43 +0200
changeset 437 433a5c662f73
parent 436 b3659c3c5dab
child 438 3cff9403766b
drawstatus even if no client exists
view.c
--- a/view.c	Wed Sep 06 11:54:16 2006 +0200
+++ b/view.c	Wed Sep 06 12:10:43 2006 +0200
@@ -218,8 +218,10 @@
 	Client *c;
 	XEvent ev;
 	
-	if(!sel)
+	if(!sel) {
+		drawstatus();
 		return;
+	}
 	if(sel->isfloat || arrange == dofloat) {
 		XRaiseWindow(dpy, sel->win);
 		XRaiseWindow(dpy, sel->twin);