changeset 437:433a5c662f73

drawstatus even if no client exists
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 12:10:43 +0200 (2006-09-06)
parents b3659c3c5dab
children 3cff9403766b
files view.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);