xdg_shell: implement xdg_popup

This commit is contained in:
Jente Hidskes 2019-02-13 18:14:20 +01:00
parent 36670f02f3
commit aa4b27ec20
2 changed files with 91 additions and 0 deletions

View file

@ -16,6 +16,16 @@ struct cg_xdg_shell_view {
struct wl_listener commit;
// TODO: allow applications to go to fullscreen from maximized?
// 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 wl_listener destroy;
struct wl_listener new_popup;
};
void handle_xdg_shell_surface_new(struct wl_listener *listener, void *data);