menu: fix breakage caused by f857aea8

This commit is contained in:
Johan Malm 2021-08-09 17:28:39 +01:00
parent 0e57c65393
commit 9a9cd609f6
3 changed files with 29 additions and 17 deletions

View file

@ -15,17 +15,15 @@ struct menuitem {
int offset_y;
} texture;
bool selected;
struct wl_list link;
struct wl_list link; /* menu::menuitems */
};
struct menu {
struct server *server;
int x;
int y;
struct wlr_box box;
struct wl_list menuitems;
};
/* menu_create - create menu */
void menu_init_rootmenu(struct server *server, struct menu *menu);
void menu_finish(struct menu *menu);