mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
surface: remove wl_resource_post_event
This commit is contained in:
parent
0eec0c7303
commit
da504f9253
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ static void surface_handle_buffer_destroy(struct wl_listener *listener,
|
|||
|
||||
static void surface_state_release_buffer(struct wlr_surface_state *state) {
|
||||
if (state->buffer) {
|
||||
wl_resource_post_event(state->buffer, WL_BUFFER_RELEASE);
|
||||
wl_buffer_send_release(state->buffer);
|
||||
surface_state_reset_buffer(state);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue