rootston: add roots_view_child::destroy

This commit is contained in:
emersion 2018-01-21 15:13:10 +01:00
parent a636d72fc7
commit d8b36357e4
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 32 additions and 11 deletions

View file

@ -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