about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/view.c b/view.c
index 3b5abba..e74d4bc 100644
--- a/view.c
+++ b/view.c
@@ -218,8 +218,10 @@ restack()
 	Client *c;
 	XEvent ev;
 	
-	if(!sel)
+	if(!sel) {
+		drawstatus();
 		return;
+	}
 	if(sel->isfloat || arrange == dofloat) {
 		XRaiseWindow(dpy, sel->win);
 		XRaiseWindow(dpy, sel->twin);