aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-11-06 12:18:56 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-11-06 17:00:00 +0300
commitacd5a64fd128bc1efbad0bfca3e8d8088123c439 (patch)
treec73b2a5b5bf130f61b45b56ffae06aab77275053 /include
parent92fbfda2ca1906f1ddee29aeb5db1109b02b1b60 (diff)
xdg-shell: use role object destroy handler
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h1
-rw-r--r--include/wlr/types/wlr_xdg_shell.h1
2 files changed, 1 insertions, 1 deletions
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 {