changed restack, to fix undrawed tag indicators

This commit is contained in:
Anselm R. Garbe 2007-01-15 12:07:18 +01:00
parent f8181f64e2
commit 72faa1919e

3
view.c
View file

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