summaryrefslogtreecommitdiff
path: root/sway/log.c
diff options
context:
space:
mode:
authorLuminarys <[email protected]>2015-08-21 00:49:47 -0500
committerLuminarys <[email protected]>2015-08-21 00:49:47 -0500
commit96ab21b2766096bdb42d79a0169d42b9ff00e2fb (patch)
tree79857046974ce779f1d410018a422380d6d2627b /sway/log.c
parent461da7f87fa970ce4ba1a124e6197554c85d42e5 (diff)
Fixes to resizing and added in resize lock once boundaries are exceeded
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) {
fprintf(stderr, "children:%d\n",c->children?c->children->length:0);
}
void layout_log(const swayc_t *c, int depth) {
+ if (L_DEBUG > v) return;
int i, d;
int e = c->children ? c->children->length : 0;
container_log(c);