From e9cfae7aba1c8eafd827854705bf0d11d2de2dfb Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 5 Jan 2007 21:56:57 +0100 Subject: prevent pop() if first sel == nexttiled(clients) --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view.c') diff --git a/view.c b/view.c index ffa22a17..503f1c2b 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; -- cgit v1.2.3