From 42d033e738d8ef213f13e1de849899d563f92a5b Mon Sep 17 00:00:00 2001 From: Ilia Bozhinov Date: Tue, 5 Jan 2021 20:14:47 +0100 Subject: xdg-shell: add wlr_xdg_toplevel_set_parent Co-authored-by: Jason Francis --- include/wlr/types/wlr_xdg_shell.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 0b9167d2..8ca3a2b1 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -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. **/ -- cgit v1.2.3