aewl

diff view.c @ 548:3d23384eb5ab

applied sanders max size fix
author arg@mig29
date Fri, 27 Oct 2006 12:05:47 +0200
parents 13ef0d218c67
children fd1061442711
line diff
     1.1 --- a/view.c	Fri Oct 27 10:24:15 2006 +0200
     1.2 +++ b/view.c	Fri Oct 27 12:05:47 2006 +0200
     1.3 @@ -44,6 +44,10 @@
     1.4  static void
     1.5  togglemax(Client *c) {
     1.6  	XEvent ev;
     1.7 +		
     1.8 +	if (x->maxw && x->minw && x->maxh && x->minh &&
     1.9 +			x->maxw == x->minw && x->maxh == x->minh)
    1.10 +		return;
    1.11  
    1.12  	if((c->ismax = !c->ismax)) {
    1.13  		c->rx = c->x; c->x = sx;