diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-03 15:28:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 15:28:48 -0400 |
commit | 836242b0c4b6028c6d04209f575d894fbfe85b08 (patch) | |
tree | f6d15811810c8bdf425042f67455d72b34e193c9 /include | |
parent | 847ff779e3058ff4d5f19bebec00eba6ac982e7f (diff) | |
parent | 606311c755066db94042a41fb1a3f027f67cacf8 (diff) |
Merge pull request #197 from versusvoid/buffer-reset
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; |