summaryrefslogtreecommitdiffstats
path: root/sway/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/log.c')
-rw-r--r--sway/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/log.c b/sway/log.c
index eda0c88e..21aa9b8e 100644
--- a/sway/log.c
+++ b/sway/log.c
@@ -149,6 +149,7 @@ static void container_log(const swayc_t *c) {
149 fprintf(stderr, "children:%d\n",c->children?c->children->length:0); 149 fprintf(stderr, "children:%d\n",c->children?c->children->length:0);
150} 150}
151void layout_log(const swayc_t *c, int depth) { 151void layout_log(const swayc_t *c, int depth) {
152 if (L_DEBUG > v) return;
152 int i, d; 153 int i, d;
153 int e = c->children ? c->children->length : 0; 154 int e = c->children ? c->children->length : 0;
154 container_log(c); 155 container_log(c);