menu: use wl_list instead of array

...to make it easier to split menu.c into smaller chunks without
exposing nr_menus variable.
This commit is contained in:
Johan Malm 2023-10-09 20:59:04 +01:00 committed by Johan Malm
parent b22722dafa
commit a105c8781a
5 changed files with 29 additions and 38 deletions

View file

@ -320,6 +320,7 @@ struct server {
struct theme *theme;
struct menu *menu_current;
struct wl_list menus;
};
#define LAB_NR_LAYERS (4)