aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2019-02-22 20:52:13 +0000
committerokan2019-02-22 20:52:13 +0000
commit3b330d5a2142c41654cee607c6e630bbc6781974 (patch)
tree6bdc067de63b104ca6c75592528a5bb3db85b199 /client.c
parenta3c7fd29ed44719addc853056a2a1d588e615b06 (diff)
downloadcwm-3b330d5a2142c41654cee607c6e630bbc6781974.tar.gz
restore order from before r1.248 (vtile/vtile containment changes).
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 2 insertions, 3 deletions
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 <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) ||