wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 42aa2cec382e01c1672b4f63149d47418c6a46b6
parent 0bbae7dd4336aad10d40527c3a8f0c32e9503243
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Mon, 13 Mar 2006 08:22:21 +0100

fixed issue in relax_area reported by Sander


Diffstat:
cmd/wm/area.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/wm/area.c b/cmd/wm/area.c @@ -247,7 +247,7 @@ relax_area(Area *a) for(i = 0; i < a->nframe; i++) { Frame *f = a->frame[i]; f->rect.x = a->rect.x + (a->rect.width - f->rect.width) / 2; - f->rect.y = a->rect.y + hdiff / 2; + f->rect.y = a->rect.y + (a->rect.height - f->rect.height) / 2; resize_client(f->client, &f->rect, nil, False); } return;