applied Sanders zoom_update patch

This commit is contained in:
Anselm R.Garbe 2006-08-10 17:48:50 +02:00
parent 6521c2dd41
commit 9fce8215b7
2 changed files with 2 additions and 3 deletions

View File

@ -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)) {

View File

@ -132,7 +132,6 @@ buttonpress(XEvent *e)
movemouse(c);
break;
case Button2:
if(!c->ismax && arrange != dofloat && !c->isfloat)
zoom(NULL);
break;
case Button3: