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,11 +71,11 @@ void layout_log(const swayc_t *c, int depth) {
|
|||
layout_log(c->floating->items[i], depth + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (c->type == C_ROOT) {
|
||||
fprintf(stderr,"ScratchPad\n");
|
||||
for (int i = 0; i < scratchpad->length; ++i)
|
||||
} else if (c->type == C_ROOT && scratchpad->length > 0) {
|
||||
fprintf(stderr, "ScratchPad\n");
|
||||
for (i = 0; i < scratchpad->length; ++i) {
|
||||
container_log(scratchpad->items[i], 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue