mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Reset buffer resource pointer on destroy signal
This commit is contained in:
parent
5f3c56de28
commit
606311c755
2 changed files with 41 additions and 9 deletions
|
|
@ -24,6 +24,7 @@ struct wlr_frame_callback {
|
|||
struct wlr_surface_state {
|
||||
uint32_t invalid;
|
||||
struct wl_resource *buffer;
|
||||
struct wl_listener buffer_destroy_listener;
|
||||
int32_t sx, sy;
|
||||
pixman_region32_t surface_damage, buffer_damage;
|
||||
pixman_region32_t opaque, input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue