drawstatus even if no client exists

This commit is contained in:
Anselm R. Garbe 2006-09-06 12:10:43 +02:00
parent 69b738c097
commit c60de1acd4

4
view.c
View file

@ -218,8 +218,10 @@ restack()
Client *c; Client *c;
XEvent ev; XEvent ev;
if(!sel) if(!sel) {
drawstatus();
return; return;
}
if(sel->isfloat || arrange == dofloat) { if(sel->isfloat || arrange == dofloat) {
XRaiseWindow(dpy, sel->win); XRaiseWindow(dpy, sel->win);
XRaiseWindow(dpy, sel->twin); XRaiseWindow(dpy, sel->twin);