From 1674ca725c150e81917c2250571c2607e68ebc6e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 28 Feb 2020 13:14:06 +0100 Subject: buffer: add destroy event --- include/wlr/types/wlr_buffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 6a49a1bf..d6a98f4b 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -25,6 +25,10 @@ struct wlr_buffer { const struct wlr_buffer_impl *impl; size_t n_refs; + + struct { + struct wl_signal destroy; + } events; }; void wlr_buffer_init(struct wlr_buffer *buffer, -- cgit v1.2.3