summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2018-03-28 12:48:01 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2018-03-28 12:48:01 -0700
commite4e8b66efdade7f8beb75beea9f527f74a07529a (patch)
treea8a0a09e79ff6e5282a5b7e04b9247aa1f1647f5
parentfix remove_view_from_scratchpad (diff)
downloadsway-e4e8b66efdade7f8beb75beea9f527f74a07529a.tar.gz
sway-e4e8b66efdade7f8beb75beea9f527f74a07529a.tar.zst
sway-e4e8b66efdade7f8beb75beea9f527f74a07529a.zip
Clean up scratchpad logging
-rw-r--r--sway/debug_log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/debug_log.c b/sway/debug_log.c
index 5cc5f9dc..166c41e8 100644
--- a/sway/debug_log.c
+++ b/sway/debug_log.c
@@ -71,11 +71,11 @@ void layout_log(const swayc_t *c, int depth) {
71 layout_log(c->floating->items[i], depth + 1); 71 layout_log(c->floating->items[i], depth + 1);
72 } 72 }
73 } 73 }
74 } 74 } else if (c->type == C_ROOT && scratchpad->length > 0) {
75 if (c->type == C_ROOT) { 75 fprintf(stderr, "ScratchPad\n");
76 fprintf(stderr,"ScratchPad\n"); 76 for (i = 0; i < scratchpad->length; ++i) {
77 for (int i = 0; i < scratchpad->length; ++i)
78 container_log(scratchpad->items[i], 0); 77 container_log(scratchpad->items[i], 0);
78 }
79 } 79 }
80} 80}
81 81