xdg_shell: implement xdg_popup

This commit is contained in:
Jente Hidskes 2019-02-13 18:14:20 +01:00
parent 86d5cedb93
commit adea7b6728
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
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);