static void
togglemax(Client *c) {
XEvent ev;
+
+ if(c->isfixed)
+ return;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;
if(n > 1)
th /= (n - 1);
- for(i = 0, c = clients; c; c = c->next, i++)
+ for(i = 0, c = clients; c; c = c->next)
if(isvisible(c)) {
if(c->isfloat) {
resize(c, True, TopLeft);
c->h = stackh - 2 * BORDERPX;
}
resize(c, False, TopLeft);
+ i++;
}
else
ban(c);