From 5515faa197c40c6b4bc853df14a8da9f1f3f1b80 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 4 Dec 2018 13:42:29 +0100 Subject: xdg-shell: emit xdg_surface destroy when role object is destroyed Fixes https://github.com/swaywm/wlroots/issues/1407 --- include/types/wlr_xdg_shell.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 93fdc670..08a691bd 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -18,6 +18,7 @@ struct wlr_xdg_surface *create_xdg_surface( struct wlr_xdg_client *client, struct wlr_surface *surface, uint32_t id); void unmap_xdg_surface(struct wlr_xdg_surface *surface); +void reset_xdg_surface(struct wlr_xdg_surface *xdg_surface); void destroy_xdg_surface(struct wlr_xdg_surface *surface); void handle_xdg_surface_commit(struct wlr_surface *wlr_surface); void handle_xdg_surface_precommit(struct wlr_surface *wlr_surface); -- cgit v1.2.3