From 9a8097682b3fe2cf4c4c5926abcdb968e0de6839 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 8 Jun 2021 19:45:56 +0200 Subject: buffer: stop sending wl_buffer.release events from wlr_client_buffer The specialized client buffer implementations take care of this. --- include/wlr/types/wlr_buffer.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index e64e60c8..c293eb6a 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -122,10 +122,6 @@ struct wlr_client_buffer { * The buffer resource, if any. Will be NULL if the client destroys it. */ struct wl_resource *resource; - /** - * Whether a release event has been sent to the resource. - */ - bool resource_released; /** * The buffer's texture, if any. A buffer will not have a texture if the * client destroys the buffer before it has been released. @@ -133,7 +129,6 @@ struct wlr_client_buffer { struct wlr_texture *texture; struct wl_listener resource_destroy; - struct wl_listener release; }; struct wlr_renderer; -- cgit v1.2.3