diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-07 14:28:37 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-09 23:16:39 +0200 |
commit | d086501fba0aae84db09393ad720b57ae6f73f16 (patch) | |
tree | 4cf3f51a31bc0db4304e0010be8f96b680f42fe7 /include | |
parent | 6d8029b07e0876de5290fb14c259df9a2d5e65cb (diff) |
types/wlr_surface: get buffer size from wlr_buffer_import
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 7668c83d..cdf42222 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -35,6 +35,7 @@ struct wlr_surface_state { // overflow. 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 |