mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Revert "Refactor tree"
This commit is contained in:
parent
6b7841b11f
commit
d0c7f66e95
39 changed files with 588 additions and 593 deletions
|
|
@ -296,7 +296,7 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
char identifier[128];
|
||||
bool all = strcmp(output->name, "*") == 0;
|
||||
for (int i = 0; i < root_container.children->length; ++i) {
|
||||
struct sway_container *cont = root_container.children->items[i];
|
||||
swayc_t *cont = root_container.children->items[i];
|
||||
if (cont->type != C_OUTPUT) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue