aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 6c5e0573..d07f9ca2 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -123,6 +123,8 @@ struct roots_view_child {
struct wl_listener commit;
struct wl_listener new_subsurface;
+
+ void (*destroy)(struct roots_view_child *child);
};
struct roots_subsurface {
@@ -151,6 +153,5 @@ void view_child_finish(struct roots_view_child *child);
struct roots_subsurface *subsurface_create(struct roots_view *view,
struct wlr_subsurface *wlr_subsurface);
-void subsurface_destroy(struct roots_subsurface *subsurface);
#endif