X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tile.c;h=56a06d36a05a651d12a84fcd7378625dfbcb0f37;hb=9f88fd093cf4f18dfd25b86344e5df73f5f1c2a1;hp=114e84c2c89ee90cd9813fa6d7137a9f2965ffa4;hpb=7d156dee1e80f7d26aa0a31a6d2c75af06cbaa9a;p=dwm.git diff --git a/tile.c b/tile.c index 114e84c..56a06d3 100644 --- a/tile.c +++ b/tile.c @@ -46,7 +46,7 @@ tile(void) { nx = wax; ny = way; - for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { + for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) { c->ismax = False; if(i == 0) { /* master */ nw = mw - 2 * c->border; @@ -63,10 +63,9 @@ tile(void) { else nh = th - 2 * c->border; } - resize(c, nx, ny, nw, nh, False); + resize(c, nx, ny, nw, nh, RESIZEHINTS); if(n > 1 && th != wah) ny += nh + 2 * c->border; - i++; } }