about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
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 6697c90..0910077 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;
 				}