diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-03-01 16:19:23 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | b4d7e84d3852ea93d2aab22f5993f84a7060b950 (patch) | |
tree | b3b3e32af7044e3af6679482a861e650e20eed62 /sway/tree | |
parent | 2c69e19fd30c5ceac61d6af821c6c6875cd3f8b6 (diff) |
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.
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/output.c | 4 |
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; |