aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-29 23:29:29 -0400
committerLibravatar GitHub <noreply@github.com>2018-03-29 23:29:29 -0400
commitd0c7f66e950689b70196a890b62b82ff3c66e103 (patch)
treeb8b52173a9791e3b13a0316ab9d316a80a6adc20 /sway/commands/output.c
parentMerge pull request #1647 from acrisci/refactor-tree (diff)
downloadsway-d0c7f66e950689b70196a890b62b82ff3c66e103.tar.gz
sway-d0c7f66e950689b70196a890b62b82ff3c66e103.tar.zst
sway-d0c7f66e950689b70196a890b62b82ff3c66e103.zip
Revert "Refactor tree"
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r--sway/commands/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c
index f7e3372c..35bc8099 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -296,7 +296,7 @@ struct cmd_results *cmd_output(int argc, char **argv) {
296 char identifier[128]; 296 char identifier[128];
297 bool all = strcmp(output->name, "*") == 0; 297 bool all = strcmp(output->name, "*") == 0;
298 for (int i = 0; i < root_container.children->length; ++i) { 298 for (int i = 0; i < root_container.children->length; ++i) {
299 struct sway_container *cont = root_container.children->items[i]; 299 swayc_t *cont = root_container.children->items[i];
300 if (cont->type != C_OUTPUT) { 300 if (cont->type != C_OUTPUT) {
301 continue; 301 continue;
302 } 302 }