aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index 4aa3a7fe..2186ad0c 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -102,9 +102,9 @@ struct sway_output *output_create(struct wlr_output *wlr_output) {
output->workspaces = create_list();
output->current.workspaces = create_list();
- size_t len = sizeof(output->layers) / sizeof(output->layers[0]);
+ size_t len = sizeof(output->shell_layers) / sizeof(output->shell_layers[0]);
for (size_t i = 0; i < len; ++i) {
- wl_list_init(&output->layers[i]);
+ wl_list_init(&output->shell_layers[i]);
}
return output;