X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=f92df83bb8a52b07cef20284d699c2bdafe84fa3;hb=525c5ff4d8bd9fd4dd2077503b5f43487dda963d;hp=7c3b28b189eea09033b027a9da5187e3f317e2bb;hpb=a207949b6503546379e3ab727cecc2f3e0cff78d;p=dwm.git diff --git a/client.c b/client.c index 7c3b28b..f92df83 100644 --- a/client.c +++ b/client.c @@ -466,12 +466,14 @@ zoom(Arg *arg) { Client *c; - if(!sel) + if(!sel || (arrange != dotile) || sel->isfloat) return; - if(sel == getnext(clients) && sel->next) { + if(sel == getnext(clients)) { if((c = getnext(sel->next))) sel = c; + else + return; } /* pop */