dwm-meillo

changeset 133:467ad2d3a6fa

applied sanders maxfix patch
author arg@10ksloc.org
date Fri, 21 Jul 2006 10:07:41 +0200
parents 59e997ca04a6
children eb8580a97d56
files event.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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  			}