wmii

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

commit 1b2966fb386c3596742cd8b7473bd122d3e0c8c0
parent eee18d7bc9c0200e6728032f65a7f117c10ae15e
Author: Kris Maglione <jg@suckless.org>
Date:   Mon,  5 Feb 2007 02:45:51 -0500

Unbreak the relaxing code... those calls to resize_client are ugly kludges.


Diffstat:
column.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/column.c b/column.c @@ -57,7 +57,7 @@ relax_column(Area *a) { for(f=a->frame; f; f=f->anext) { f->rect.x = a->rect.x + (a->rect.width - f->rect.width) / 2; f->rect.y = a->rect.y + (a->rect.height - f->rect.height) / 2; - //resize_client(f->client, &f->rect, True); + resize_client(f->client, &f->rect, True); } return; } @@ -78,7 +78,7 @@ relax_column(Area *a) { for(f=a->frame; f && (hx < hdiff); f=f->anext) { unsigned int tmp = f->rect.height; f->rect.height += hx; - //resize_client(f->client, &f->rect, True); + resize_client(f->client, &f->rect, True); hdiff -= (f->rect.height - tmp); } } @@ -92,7 +92,7 @@ relax_column(Area *a) { f->rect.x = a->rect.x + (a->rect.width - f->rect.width) / 2; yoff = f->rect.y + f->rect.height + hdiff; } - //resize_client(f->client, &f->rect, True); + resize_client(f->client, &f->rect, True); } }