mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
layers.h: define LAB_NR_LAYERS (4)
This commit is contained in:
parent
6488b933fa
commit
f26b61137d
3 changed files with 5 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ new_output_notify(struct wl_listener *listener, void *data)
|
|||
output->frame.notify = output_frame_notify;
|
||||
wl_signal_add(&wlr_output->events.frame, &output->frame);
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
for (int i = 0; i < LAB_NR_LAYERS; i++) {
|
||||
wl_list_init(&output->layers[i]);
|
||||
output->layer_tree[i] =
|
||||
wlr_scene_tree_create(&server->scene->node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue