X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/7ac0de8350c51ef39e4dee5f60e1da641c4fbd5b..e9cfae7aba1c8eafd827854705bf0d11d2de2dfb:/view.c diff --git a/view.c b/view.c index ffa22a1..503f1c2 100644 --- a/view.c +++ b/view.c @@ -261,7 +261,7 @@ zoom(Arg *arg) { n++; c = sel; - if(arrange != dofloat) { + if((arrange != dofloat) && c != nexttiled(clients)) { detach(c); if(clients) clients->prev = c;