mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
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:
parent
d3d1c69aca
commit
9a8097682b
3 changed files with 1 additions and 40 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue