Use wlr_scene_xdg_surface_create for popups

See https://github.com/swaywm/wlroots/pull/3298
This commit is contained in:
Simon Ser 2021-10-27 16:19:06 +02:00 committed by Jente Hidskes
parent af610192f4
commit 79950cd691
2 changed files with 78 additions and 121 deletions

View file

@ -15,18 +15,6 @@ struct cg_xdg_shell_view {
struct wl_listener unmap;
struct wl_listener map;
struct wl_listener request_fullscreen;
struct wl_listener new_popup;
};
struct cg_xdg_popup {
struct cg_view_child view_child;
struct wlr_xdg_popup *wlr_popup;
struct wlr_scene_surface *scene_surface;
struct wl_listener destroy;
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener new_popup;
};
struct cg_xdg_decoration {