fix maximized windows in floating layout

This commit is contained in:
Julien Danjou 2008-01-01 16:56:11 +01:00
parent c4b4a1fded
commit e5af2dcf24
1 changed files with 1 additions and 1 deletions

View File

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