mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Clean up scratchpad logging
This commit is contained in:
parent
52b9a62b31
commit
e4e8b66efd
1 changed files with 4 additions and 4 deletions
|
|
@ -71,13 +71,13 @@ void layout_log(const swayc_t *c, int depth) {
|
||||||
layout_log(c->floating->items[i], depth + 1);
|
layout_log(c->floating->items[i], depth + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (c->type == C_ROOT && scratchpad->length > 0) {
|
||||||
if (c->type == C_ROOT) {
|
|
||||||
fprintf(stderr, "ScratchPad\n");
|
fprintf(stderr, "ScratchPad\n");
|
||||||
for (int i = 0; i < scratchpad->length; ++i)
|
for (i = 0; i < scratchpad->length; ++i) {
|
||||||
container_log(scratchpad->items[i], 0);
|
container_log(scratchpad->items[i], 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const char *swayc_type_string(enum swayc_types type) {
|
const char *swayc_type_string(enum swayc_types type) {
|
||||||
return type == C_ROOT ? "ROOT" :
|
return type == C_ROOT ? "ROOT" :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue