fix maximized windows in floating layout
This commit is contained in:
parent
c4b4a1fded
commit
e5af2dcf24
|
@ -30,7 +30,7 @@ layout_floating(int screen)
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
for(c = globalconf.clients; c; c = c->next)
|
for(c = globalconf.clients; c; c = c->next)
|
||||||
if(client_isvisible(c, screen))
|
if(client_isvisible(c, screen) && !c->ismax)
|
||||||
client_resize(c, c->rx, c->ry, c->rw, c->rh, True, False);
|
client_resize(c, c->rx, c->ry, c->rw, c->rh, True, False);
|
||||||
}
|
}
|
||||||
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
||||||
|
|
Loading…
Reference in New Issue