From b4d7e84d3852ea93d2aab22f5993f84a7060b950 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Tue, 1 Mar 2022 16:19:23 -0500 Subject: desktop: Rename layers to shell_layers This code will be deleted later, but for the time being rename it so it doesn't conflict with future properties. --- sway/tree/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/tree') 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; -- cgit v1.2.3-54-g00ecf