aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVersus Void <versusvoid@gmail.com>2017-10-03 18:57:23 +0000
committerVersus Void <versusvoid@gmail.com>2017-10-03 19:57:54 +0000
commit606311c755066db94042a41fb1a3f027f67cacf8 (patch)
tree1ded9f75f35c8545d0db2798ffe5babc49106bfa /include
parent5f3c56de2805f11e84e0bb17edc30f455f0a3aaf (diff)
Reset buffer resource pointer on destroy signal
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h1
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;