applied Sanders resize patch, fixed lower bug

This commit is contained in:
arg@10ksloc.org
2006-07-19 11:31:04 +02:00
parent 95e56ffc0d
commit c53980cddc
5 changed files with 43 additions and 19 deletions

6
tag.c
View File

@ -45,7 +45,7 @@ dofloat(Arg *arg)
for(c = clients; c; c = c->next) {
setgeom(c);
if(c->tags[tsel]) {
resize(c, True);
resize(c, True, TopLeft);
}
else
ban(c);
@ -81,7 +81,7 @@ dotile(Arg *arg)
if(c->tags[tsel]) {
if(c->isfloat) {
higher(c);
resize(c, True);
resize(c, True, TopLeft);
continue;
}
if(n == 1) {
@ -102,7 +102,7 @@ dotile(Arg *arg)
*c->w = w - 2 * c->border;
*c->h = h - 2 * c->border;
}
resize(c, False);
resize(c, False, TopLeft);
i++;
}
else