]> git.armaanb.net Git - dwm.git/commitdiff
small fix of a corner case
authorAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 14:54:15 +0000 (16:54 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 14:54:15 +0000 (16:54 +0200)
view.c

diff --git a/view.c b/view.c
index 6697c9092182241128513778ac60fa74bf9ed7a5..09100779a83f6c7661e069b6f56aa4044024d92f 100644 (file)
--- 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;
                                }