mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
Merge pull request #106 from acrisci/bug/fix-wild-buffer
Fix wild pointer to buffer
This commit is contained in:
commit
d748fd1a8e
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ release:
|
||||||
pixman_region32_init(&surface->current.buffer_damage);
|
pixman_region32_init(&surface->current.buffer_damage);
|
||||||
|
|
||||||
wl_resource_queue_event(surface->current.buffer, WL_BUFFER_RELEASE);
|
wl_resource_queue_event(surface->current.buffer, WL_BUFFER_RELEASE);
|
||||||
|
surface->current.buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void surface_set_buffer_transform(struct wl_client *client,
|
static void surface_set_buffer_transform(struct wl_client *client,
|
||||||
|
|
Loading…
Reference in a new issue