@ -461,7 +461,7 @@ zoom(Arg *arg)
{
Client *c;
if(!sel || (arrange != dotile) || sel->isfloat)
if(!sel || (arrange != dotile) || sel->isfloat || sel->ismax)
return;
if(sel == getnext(clients)) {
@ -132,8 +132,7 @@ buttonpress(XEvent *e)
movemouse(c);
break;
case Button2:
if(!c->ismax && arrange != dofloat && !c->isfloat)
zoom(NULL);
case Button3:
if(!c->ismax && (arrange == dofloat || c->isfloat))