xdg_shell: wait for initial commit to unconstrain popups

This commit is contained in:
Simon Ser 2024-08-30 18:50:11 +02:00
parent 412c11ea91
commit f0651c7671
2 changed files with 53 additions and 9 deletions

View file

@ -26,6 +26,13 @@ struct cg_xdg_decoration {
struct wl_listener request_mode;
};
struct cg_xdg_popup {
struct wlr_xdg_popup *xdg_popup;
struct wl_listener destroy;
struct wl_listener commit;
};
void handle_new_xdg_toplevel(struct wl_listener *listener, void *data);
void handle_new_xdg_popup(struct wl_listener *listener, void *data);