drawstatus even if no client exists
This commit is contained in:
parent
69b738c097
commit
c60de1acd4
1 changed files with 3 additions and 1 deletions
4
view.c
4
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);
|
||||
|
|
Loading…
Reference in a new issue