aewl
changeset 550:787f6ae02f29
and another fix
author | arg@mig29 |
---|---|
date | Fri, 27 Oct 2006 13:29:35 +0200 |
parents | fd1061442711 |
children | 798b906378d6 |
files | client.c event.c |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/client.c Fri Oct 27 13:28:26 2006 +0200 1.2 +++ b/client.c Fri Oct 27 13:29:35 2006 +0200 1.3 @@ -209,8 +209,6 @@ 1.4 c->h = wa->height; 1.5 c->th = bh; 1.6 updatesize(c); 1.7 - c->isfixed = (c->maxw && c->minw && c->maxh && c->minh && 1.8 - c->maxw == c->minw && c->maxh == c->minh); 1.9 if(c->x + c->w + 2 * BORDERPX > sw) 1.10 c->x = sw - c->w - 2 * BORDERPX; 1.11 if(c->x < sx) 1.12 @@ -341,6 +339,8 @@ 1.13 } 1.14 else 1.15 c->minw = c->minh = 0; 1.16 + c->isfixed = (c->maxw && c->minw && c->maxh && c->minh && 1.17 + c->maxw == c->minw && c->maxh == c->minh); 1.18 if(c->flags & PWinGravity) 1.19 c->grav = size.win_gravity; 1.20 else
2.1 --- a/event.c Fri Oct 27 13:28:26 2006 +0200 2.2 +++ b/event.c Fri Oct 27 13:29:35 2006 +0200 2.3 @@ -136,7 +136,8 @@ 2.4 } 2.5 else if(ev->button == Button2) 2.6 zoom(NULL); 2.7 - else if(ev->button == Button3 && (arrange == dofloat || c->isfloat) && !c->isfixed) { 2.8 + else if(ev->button == Button3 && (arrange == dofloat || c->isfloat) && 2.9 + !c->isfixed) { 2.10 restack(); 2.11 resizemouse(c); 2.12 }