JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
drawstatus even if no client exists
authorAnselm R. Garbe <arg@10kloc.org>
Wed, 6 Sep 2006 10:10:43 +0000 (12:10 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Wed, 6 Sep 2006 10:10:43 +0000 (12:10 +0200)
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);