buffer: stop sending wl_buffer.release events from wlr_client_buffer

The specialized client buffer implementations take care of this.
This commit is contained in:
Simon Ser 2021-06-08 19:45:56 +02:00 committed by Simon Zeni
parent d3d1c69aca
commit 9a8097682b
3 changed files with 1 additions and 40 deletions

View file

@ -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;