summaryrefslogtreecommitdiff
path: root/tile.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-26 12:53:40 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-26 12:53:40 +0200
commita92cf496c18189f9cbc7c1d7f8edcebbd1d7ff99 (patch)
treeb3346d3c08c9a78661ddc59c6fafa2ec82d4f110 /tile.c
parentcc7970010bd78e700d790b12617a50c9f9fd45a8 (diff)
prepared 4.4.1 bugfix and minor feature enhancement release
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tile.c b/tile.c
index 114e84c2..7915441d 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;
@@ -66,7 +66,6 @@ tile(void) {
resize(c, nx, ny, nw, nh, False);
if(n > 1 && th != wah)
ny += nh + 2 * c->border;
- i++;
}
}