From 953cf1ce89525d9c64bb4b484195def605632422 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 22 Feb 2019 20:52:13 +0000 Subject: [PATCH] restore order from before r1.248 (vtile/vtile containment changes). --- client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client.c b/client.c index 5303832..b5b79cb 100644 --- a/client.c +++ b/client.c @@ -1052,13 +1052,12 @@ client_vtile(struct client_ctx *cc) if (!gc) return; + i = n = 0; area = screen_area(sc, cc->geom.x + cc->geom.w / 2, cc->geom.y + cc->geom.h / 2, CWM_GAP); - i = n = 0; - TAILQ_FOREACH(ci, &gc->clientq, group_entry) { if (ci->flags & CLIENT_HIDDEN || ci->flags & CLIENT_IGNORE || (ci == cc) ||