projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82e7b7
)
fixing zoom
author
Anselm R. Garbe
<arg@10kloc.org>
Tue, 5 Sep 2006 15:10:48 +0000
(17:10 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Tue, 5 Sep 2006 15:10:48 +0000
(17:10 +0200)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index c005a3343e1e3a4f2704f2261ff5ed40e348ea52..d61d0deb9efab7521d917cfa6cb0114356461a00 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-317,9
+317,10
@@
zoom(Arg *arg)
if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
return;
- if((c = sel) == getnext(clients))
- if(!(c = getnext(c->next)))
- return;
+ if((c = sel) == getnext(clients))
+ for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
+ if(!c)
+ return;
detach(c);
c->next = clients;
clients->prev = c;