diff -r 59e997ca04a6 -r 467ad2d3a6fa event.c --- a/event.c Fri Jul 21 09:59:11 2006 +0200 +++ b/event.c Fri Jul 21 10:07:41 2006 +0200 @@ -170,7 +170,7 @@ default: break; case Button1: - if(arrange == dofloat || c->isfloat) { + if(!c->ismax && (arrange == dofloat || c->isfloat)) { higher(c); movemouse(c); } @@ -179,7 +179,7 @@ lower(c); break; case Button3: - if(arrange == dofloat || c->isfloat) { + if(!c->ismax && (arrange == dofloat || c->isfloat)) { higher(c); resizemouse(c); }