aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-21 15:13:10 +0100
committeremersion <contact@emersion.fr>2018-01-21 15:13:10 +0100
commitd8b36357e4c8d9edef7df4ecb465b7f728795f90 (patch)
tree13c2f82f25bb785b22004db180ab4a4d37a1e3d3 /include
parenta636d72fc77ebcaa986fd1b72e85664e2fe586a3 (diff)
rootston: add roots_view_child::destroy
Diffstat (limited to 'include')
-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