From b5b15b26258bc5e29736b3eb0268fa460acc9dd0 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 5 Feb 2022 10:29:42 +0300 Subject: xdg-{toplevel,popup}: extract destructors --- include/types/wlr_xdg_shell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index c0f97798..1ad6b0ae 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -31,11 +31,13 @@ void create_xdg_popup(struct wlr_xdg_surface *surface, struct wlr_xdg_surface *parent, struct wlr_xdg_positioner_resource *positioner, uint32_t id); void unmap_xdg_popup(struct wlr_xdg_popup *popup); +void destroy_xdg_popup(struct wlr_xdg_popup *popup); void handle_xdg_popup_committed(struct wlr_xdg_popup *popup); void create_xdg_toplevel(struct wlr_xdg_surface *surface, uint32_t id); void unmap_xdg_toplevel(struct wlr_xdg_toplevel *toplevel); +void destroy_xdg_toplevel(struct wlr_xdg_toplevel *toplevel); void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel); struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure( struct wlr_xdg_toplevel *toplevel); -- cgit v1.2.3