mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04:00
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.
This commit is contained in:
parent
2c69e19fd3
commit
b4d7e84d38
6 changed files with 37 additions and 38 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue