Browse Source

applied Sanders zoom_update patch

main
Anselm R.Garbe 18 years ago
parent
commit
9fce8215b7
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      client.c
  2. +1
    -2
      event.c

+ 1
- 1
client.c View File

@ -461,7 +461,7 @@ zoom(Arg *arg)
{ {
Client *c; Client *c;
if(!sel || (arrange != dotile) || sel->isfloat)
if(!sel || (arrange != dotile) || sel->isfloat || sel->ismax)
return; return;
if(sel == getnext(clients)) { if(sel == getnext(clients)) {


+ 1
- 2
event.c View File

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


Loading…
Cancel
Save