diff options
author | okan | 2019-02-22 20:52:13 +0000 |
---|---|---|
committer | okan | 2019-02-22 20:52:13 +0000 |
commit | 3b330d5a2142c41654cee607c6e630bbc6781974 (patch) | |
tree | 6bdc067de63b104ca6c75592528a5bb3db85b199 /client.c | |
parent | a3c7fd29ed44719addc853056a2a1d588e615b06 (diff) | |
download | cwm-3b330d5a2142c41654cee607c6e630bbc6781974.tar.gz |
restore order from before r1.248 (vtile/vtile containment changes).
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 <sys/types.h> @@ -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) || |