From 3b330d5a2142c41654cee607c6e630bbc6781974 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 22 Feb 2019 20:52:13 +0000 Subject: restore order from before r1.248 (vtile/vtile containment changes). --- client.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 3988e5a..3432d26 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.249 2019/02/22 19:40:32 okan Exp $ + * $OpenBSD: client.c,v 1.250 2019/02/22 20:52:13 okan Exp $ */ #include @@ -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) || -- cgit v1.2.3-2-gb3c3