forked from mirror/dwm
fixing zoom
This commit is contained in:
parent
a82e7b765e
commit
52a3ab1042
1 changed files with 4 additions and 3 deletions
3
view.c
3
view.c
|
@ -318,7 +318,8 @@ zoom(Arg *arg)
|
|||
return;
|
||||
|
||||
if((c = sel) == getnext(clients))
|
||||
if(!(c = getnext(c->next)))
|
||||
for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
|
||||
if(!c)
|
||||
return;
|
||||
detach(c);
|
||||
c->next = clients;
|
||||
|
|
Loading…
Reference in a new issue