xdg-shell: add wlr_xdg_toplevel_set_parent

Co-authored-by: Jason Francis <cycl0ps@tuta.io>
This commit is contained in:
Ilia Bozhinov 2021-01-05 20:14:47 +01:00 committed by Simon Ser
parent bf4e2e0eac
commit 42d033e738
2 changed files with 10 additions and 6 deletions

View file

@ -309,6 +309,12 @@ uint32_t wlr_xdg_toplevel_set_tiled(struct wlr_xdg_surface *surface,
*/
void wlr_xdg_toplevel_send_close(struct wlr_xdg_surface *surface);
/**
* Sets the parent of this toplevel. Parent can be NULL.
*/
void wlr_xdg_toplevel_set_parent(struct wlr_xdg_surface *surface,
struct wlr_xdg_surface *parent);
/**
* Request that this xdg popup closes.
**/