From acd5a64fd128bc1efbad0bfca3e8d8088123c439 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sun, 6 Nov 2022 12:18:56 +0300 Subject: xdg-shell: use role object destroy handler --- include/types/wlr_xdg_shell.h | 1 + include/wlr/types/wlr_xdg_shell.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 37ef2a95..ddff7b6f 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -17,6 +17,7 @@ void destroy_xdg_surface(struct wlr_xdg_surface *surface); void xdg_surface_role_commit(struct wlr_surface *wlr_surface); void xdg_surface_role_precommit(struct wlr_surface *wlr_surface, const struct wlr_surface_state *state); +void xdg_surface_role_destroy(struct wlr_surface *wlr_surface); void create_xdg_positioner(struct wlr_xdg_client *client, uint32_t id); diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index f54f74e2..f2aae252 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -258,7 +258,6 @@ struct wlr_xdg_surface { struct wlr_xdg_surface_state current, pending; - struct wl_listener surface_destroy; struct wl_listener surface_commit; struct { -- cgit v1.2.3