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
1 changed files with 3 additions and 1 deletions

4
view.c
View File

@ -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);