commit faa3f31a0d1a8554cb0f73788f489baeacb200fe
parent 40d708969ae51647e2e0e61631706651b7239917
Author: garbeam <garbeam@mmv.wmii.de>
Date: Thu, 15 Dec 2005 01:23:31 +0200
fixed south resizals in col
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c
@@ -251,7 +251,7 @@ static void drop_resize(Frame *f, XRectangle *new)
resize_frame(north, &north->rect, nil);
resize_frame(f, &f->rect, nil);
}
- if (south && (new->y + new->height > f->rect.y + f->rect.height)) {
+ if (south && (new->y + new->height != f->rect.y + f->rect.height)) {
south->rect.height -= new->y + new->height - south->rect.y;
south->rect.y = new->y + new->height;
f->rect.y = new->y;