[hackers] wmii: new tip (= 1742)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 05 Feb 2007 08:50:03 +0100

changeset: 1742:f55eda8b5c24
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 05 02:45:51 2007 -0500
files: column.c
description:
Unbreak the relaxing code... those calls to resize_client are ugly kludges.

diff -r 17deb394ed0f -r f55eda8b5c24 column.c
--- a/column.c Mon Feb 05 02:36:18 2007 -0500
+++ b/column.c Mon Feb 05 02:45:51 2007 -0500
@@ -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);
         }
 }
 
Received on Mon Feb 05 2007 - 08:50:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:53 UTC