Chase wlroots: prep work: menu to tree

This commit is contained in:
Consolatis 2022-06-05 14:42:06 +02:00 committed by Johan Malm
parent 3f65a2ff77
commit 65a5315e42
2 changed files with 29 additions and 20 deletions

View file

@ -16,6 +16,7 @@ enum menu_align {
};
struct menu_scene {
struct wlr_scene_tree *tree;
struct lab_data_buffer *buffer;
struct wlr_scene_node *text;
struct wlr_scene_node *background;
@ -25,6 +26,7 @@ struct menuitem {
struct wl_list actions;
struct menu *parent;
struct menu *submenu;
struct wlr_scene_tree *tree;
struct menu_scene normal;
struct menu_scene selected;
struct wl_list link; /* menu::menuitems */