tthis makes sure the issue mentioned by sander - dwm - [fork] customized build … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e1315fd40cf7f3df911e1b4f6876c47ce1feb61c | |
parent 52a3ab10423a4133e38281e4e19769cd3c2ed931 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Tue, 5 Sep 2006 18:04:22 +0200 | |
tthis makes sure the issue mentioned by sander | |
Diffstat: | |
M view.c | 10 ++++++++-- | |
1 file changed, 8 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/view.c b/view.c | |
t@@ -317,8 +317,14 @@ zoom(Arg *arg) | |
if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized) | |
return; | |
- if((c = sel) == getnext(clients)) | |
- for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next… | |
+ /* this is somewhat tricky, it asserts to only zoom tiled clients */ | |
+ for(c = clients; c && c->isfloat; c = getnext(c->next)); | |
+ if(c) { | |
+ if(c == sel) | |
+ for(c = getnext(c->next); c && c->isfloat; c = getnext… | |
+ else | |
+ c = sel; | |
+ } | |
if(!c) | |
return; | |
detach(c); |