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 | layer-shell: don't configure uninitialized surfaces (diff) | |
download | sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.gz sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.zst sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.zip |
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) { | |||
102 | output->workspaces = create_list(); | 102 | output->workspaces = create_list(); |
103 | output->current.workspaces = create_list(); | 103 | output->current.workspaces = create_list(); |
104 | 104 | ||
105 | size_t len = sizeof(output->layers) / sizeof(output->layers[0]); | 105 | size_t len = sizeof(output->shell_layers) / sizeof(output->shell_layers[0]); |
106 | for (size_t i = 0; i < len; ++i) { | 106 | for (size_t i = 0; i < len; ++i) { |
107 | wl_list_init(&output->layers[i]); | 107 | wl_list_init(&output->shell_layers[i]); |
108 | } | 108 | } |
109 | 109 | ||
110 | return output; | 110 | return output; |