diff options
author | Simon Ser <contact@emersion.fr> | 2021-08-11 17:34:34 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-09-06 14:21:23 -0400 |
commit | ba0525c5c08b31ade48368df4d2fd1bbefd1304a (patch) | |
tree | 6a9b7d5467409bb1a7725240dd62c4dd37ab0904 /include/wlr | |
parent | 0978a702d7eda51acd340b53984d844f17a45e39 (diff) |
surface: drop wlr_surface_state.buffer_resource
Instead, use wlr_surface_state.buffer only.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 4b464401..aa26726b 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -36,7 +36,6 @@ struct wlr_surface_state { uint32_t seq; struct wlr_buffer *buffer; - struct wl_resource *buffer_resource; int32_t dx, dy; // relative to previous position pixman_region32_t surface_damage, buffer_damage; // clipped to bounds pixman_region32_t opaque, input; @@ -65,8 +64,6 @@ struct wlr_surface_state { int dst_width, dst_height; // in surface-local coordinates } viewport; - struct wl_listener buffer_destroy; - // Number of locks that prevent this surface state from being committed. size_t cached_state_locks; struct wl_list cached_state_link; // wlr_surface.cached |