mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-23 06:59:44 -05:00
buffer: add destroy event
This commit is contained in:
parent
7516a98167
commit
1674ca725c
2 changed files with 8 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue