dwm-meillo

diff tag.c @ 99:a19556fe83b5

applied Sanders resize patch, fixed lower bug
author arg@10ksloc.org
date Wed, 19 Jul 2006 11:31:04 +0200
parents 1d125cf2925b
children 3a708f113f55
line diff
     1.1 --- a/tag.c	Tue Jul 18 17:54:55 2006 +0200
     1.2 +++ b/tag.c	Wed Jul 19 11:31:04 2006 +0200
     1.3 @@ -45,7 +45,7 @@
     1.4  	for(c = clients; c; c = c->next) {
     1.5  		setgeom(c);
     1.6  		if(c->tags[tsel]) {
     1.7 -			resize(c, True);
     1.8 +			resize(c, True, TopLeft);
     1.9  		}
    1.10  		else
    1.11  			ban(c);
    1.12 @@ -81,7 +81,7 @@
    1.13  		if(c->tags[tsel]) {
    1.14  			if(c->isfloat) {
    1.15  				higher(c);
    1.16 -				resize(c, True);
    1.17 +				resize(c, True, TopLeft);
    1.18  				continue;
    1.19  			}
    1.20  			if(n == 1) {
    1.21 @@ -102,7 +102,7 @@
    1.22  				*c->w = w - 2 * c->border;
    1.23  				*c->h = h - 2 * c->border;
    1.24  			}
    1.25 -			resize(c, False);
    1.26 +			resize(c, False, TopLeft);
    1.27  			i++;
    1.28  		}
    1.29  		else