aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-12-04 13:42:29 +0100
committeremersion <contact@emersion.fr>2018-12-04 13:42:29 +0100
commit5515faa197c40c6b4bc853df14a8da9f1f3f1b80 (patch)
tree98fe949480863d7884fb1c72de23a9f0eec7147a /include
parent3efc6bc363b4200d9cd73e76a7e95778595f5049 (diff)
xdg-shell: emit xdg_surface destroy when role object is destroyed
Fixes https://github.com/swaywm/wlroots/issues/1407
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h1
1 files changed, 1 insertions, 0 deletions
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);