aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-02-05 10:29:42 +0300
committerSimon Ser <contact@emersion.fr>2022-02-21 17:26:51 +0000
commitb5b15b26258bc5e29736b3eb0268fa460acc9dd0 (patch)
treeaebf82facaa75ea7c46db0e87af7916e6958241c /include
parentedfb332b24a2a1e014de10eba1c5bf2b84538d2f (diff)
xdg-{toplevel,popup}: extract destructors
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h2
1 files changed, 2 insertions, 0 deletions
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);