diff options
author | Versus Void <versusvoid@gmail.com> | 2017-10-03 18:57:23 +0000 |
---|---|---|
committer | Versus Void <versusvoid@gmail.com> | 2017-10-03 19:57:54 +0000 |
commit | 606311c755066db94042a41fb1a3f027f67cacf8 (patch) | |
tree | 1ded9f75f35c8545d0db2798ffe5babc49106bfa /include | |
parent | 5f3c56de2805f11e84e0bb17edc30f455f0a3aaf (diff) |
Reset buffer resource pointer on destroy signal
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index ae278815..23e53811 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -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; |