From 0abb67c478208ac656d86974477ff640900a9128 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 9 Jul 2021 16:55:37 +0200 Subject: buffer: stop using source resource in wlr_client_buffer_apply_damage This is the first step towards dropping wlr_client_buffer.resource. --- include/wlr/types/wlr_buffer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 21bcdefc..6327bbfb 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -137,7 +137,12 @@ struct wlr_client_buffer { */ struct wlr_texture *texture; + // private state + struct wl_listener resource_destroy; + + // If the client buffer has been created from a wl_shm buffer + uint32_t shm_source_format; }; /** -- cgit v1.2.3