summaryrefslogtreecommitdiffstats
path: root/sway/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/workspace.c')
-rw-r--r--sway/workspace.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sway/workspace.c b/sway/workspace.c
index 4db75f48..df646445 100644
--- a/sway/workspace.c
+++ b/sway/workspace.c
@@ -255,5 +255,18 @@ void layout_log(const swayc_t *c, int depth) {
255 for (i = 0; i < depth; ++i) fputc(' ', stderr); 255 for (i = 0; i < depth; ++i) fputc(' ', stderr);
256 fprintf(stderr,")\n"); 256 fprintf(stderr,")\n");
257 } 257 }
258 if (c->type == C_WORKSPACE) {
259 e = c->floating?c->floating->length:0;
260 for (i = 0; i < depth; ++i) fputc(' ', stderr);
261 if (e) {
262 for (i = 0; i < depth; ++i) fputc(' ', stderr);
263 fprintf(stderr,"(\n");
264 for (i = 0; i < e; ++i) {
265 layout_log(c->floating->items[i], depth + 1);
266 }
267 for (i = 0; i < depth; ++i) fputc(' ', stderr);
268 fprintf(stderr,")\n");
269 }
270 }
258} 271}
259/* XXX:DEBUG:XXX */ 272/* XXX:DEBUG:XXX */