summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 16:54:15 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 16:54:15 +0200
commitad0da9a571ecbdfa8fe0a397185b314f5654f094 (patch)
tree505916055b47ad2d5b400fd1bd5a2f7343654002 /view.c
parent6646468125eb4822d8f96b2b587c66c9b1d12eec (diff)
small fix of a corner case
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 6697c909..09100779 100644
--- a/view.c
+++ b/view.c
@@ -213,7 +213,7 @@ dotile(Arg *arg) {
c->x = sx + master + (i - 1) * tw;
c->y = sy + bh;
if(i + 1 == n)
- c->w = sx + stackw - c->x - 2 * BORDERPX;
+ c->w = sw - c->x - 2 * BORDERPX;
}
break;
}