drawstatus even if no client exists

new_dwm
Anselm R. Garbe 18 years ago
parent 69b738c097
commit c60de1acd4

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

Loading…
Cancel
Save