Browse Source

allowing zoom within master area as well

config
Anselm R. Garbe 18 years ago
parent
commit
0faaba04a5
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      view.c

+ 4
- 3
view.c View File

@ -302,10 +302,11 @@ zoom(Arg *arg) {
}
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
n++;
if(n <= nmaster || (arrange == dofloat))
return;
if(ismaster((c = sel))) {
c = sel;
if(n <= nmaster || (arrange == dofloat))
pop(c);
else if(ismaster(sel)) {
if(!(c = topofstack()))
return;
swap(c, sel);


Loading…
Cancel
Save