From ba0525c5c08b31ade48368df4d2fd1bbefd1304a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 11 Aug 2021 17:34:34 +0200 Subject: surface: drop wlr_surface_state.buffer_resource Instead, use wlr_surface_state.buffer only. --- include/wlr/types/wlr_surface.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/wlr') 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 -- cgit v1.2.3