From d086501fba0aae84db09393ad720b57ae6f73f16 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 7 Jul 2021 14:28:37 -0400 Subject: types/wlr_surface: get buffer size from wlr_buffer_import --- include/wlr/types/wlr_surface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr') 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 -- cgit v1.2.3