JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
drawstatus even if no client exists
[dwm.git] / view.c
diff --git a/view.c b/view.c
index 3b5abba..e74d4bc 100644 (file)
--- 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);