commit 34720c3c0ef235e312a886f0dfd323e6ba789131
parent ec9d2e53eb03298b4b78443b91b94f0b40c81d48
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Thu, 9 Mar 2006 22:47:22 +0100
fixed resize issue in topmost client of a column
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -349,7 +349,7 @@ drop_resize(Frame *f, XRectangle *new)
west = (i > 1) ? t->area[i - 1] : nil;
east = i + 1 < t->narea ? t->area[i + 1] : nil;
- for(i = 1; (i < a->nframe) && (a->frame[i] != f); i++);
+ for(i = 0; (i < a->nframe) && (a->frame[i] != f); i++);
north = i ? a->frame[i - 1] : nil;
south = i + 1 < a->nframe ? a->frame[i + 1] : nil;