mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
menu: fix breakage caused by f857aea8
This commit is contained in:
parent
0e57c65393
commit
9a9cd609f6
3 changed files with 29 additions and 17 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue