aewl

diff event.c @ 133:467ad2d3a6fa

applied sanders maxfix patch
author arg@10ksloc.org
date Fri, 21 Jul 2006 10:07:41 +0200
parents 30d1302dbe3b
children 77922a389fa8
line diff
     1.1 --- a/event.c	Fri Jul 21 09:59:11 2006 +0200
     1.2 +++ b/event.c	Fri Jul 21 10:07:41 2006 +0200
     1.3 @@ -170,7 +170,7 @@
     1.4  		default:
     1.5  			break;
     1.6  		case Button1:
     1.7 -			if(arrange == dofloat || c->isfloat) {
     1.8 +			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
     1.9  				higher(c);
    1.10  				movemouse(c);
    1.11  			}
    1.12 @@ -179,7 +179,7 @@
    1.13  			lower(c);
    1.14  			break;
    1.15  		case Button3:
    1.16 -			if(arrange == dofloat || c->isfloat) {
    1.17 +			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
    1.18  				higher(c);
    1.19  				resizemouse(c);
    1.20  			}