aewl
changeset 548:3d23384eb5ab
applied sanders max size fix
author | arg@mig29 |
---|---|
date | Fri, 27 Oct 2006 12:05:47 +0200 |
parents | de3fd5271408 |
children | fd1061442711 |
files | client.c view.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/client.c Fri Oct 27 10:24:15 2006 +0200 1.2 +++ b/client.c Fri Oct 27 12:05:47 2006 +0200 1.3 @@ -233,7 +233,7 @@ 1.4 settags(c, getclient(trans)); 1.5 if(!c->isfloat) 1.6 c->isfloat = trans 1.7 - || (c->maxw && c->minw && 1.8 + || (c->maxw && c->minw && c->maxh && c->minh && 1.9 c->maxw == c->minw && c->maxh == c->minh); 1.10 resizetitle(c); 1.11 if(clients)
2.1 --- a/view.c Fri Oct 27 10:24:15 2006 +0200 2.2 +++ b/view.c Fri Oct 27 12:05:47 2006 +0200 2.3 @@ -44,6 +44,10 @@ 2.4 static void 2.5 togglemax(Client *c) { 2.6 XEvent ev; 2.7 + 2.8 + if (x->maxw && x->minw && x->maxh && x->minh && 2.9 + x->maxw == x->minw && x->maxh == x->minh) 2.10 + return; 2.11 2.12 if((c->ismax = !c->ismax)) { 2.13 c->rx = c->x; c->x = sx;