layers: fix layer_popup_tree implementation

This commit is contained in:
Johan Malm 2022-03-06 16:48:39 +00:00
parent 77ac3474b6
commit 852a6f02fa
2 changed files with 64 additions and 66 deletions

View file

@ -28,6 +28,9 @@ struct lab_layer_popup {
struct wlr_xdg_popup *wlr_popup;
struct wlr_scene_node *scene_node;
/* To simplify moving popup nodes from the bottom to the top layer */
struct wlr_box output_toplevel_sx_box;
struct wl_listener destroy;
struct wl_listener new_popup;
};