layers: only define LAB_NR_LAYERS locally where needed

This commit is contained in:
Johan Malm 2022-03-02 20:39:46 +00:00
parent 98d5fd483d
commit d3918eec0a
4 changed files with 8 additions and 6 deletions

View file

@ -7,8 +7,6 @@
struct server;
struct output;
#define LAB_NR_LAYERS (4)
struct lab_layer_surface {
struct wl_list link; /* output::layers */
struct wlr_scene_layer_surface_v1 *scene_layer_surface;