mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
compositor: don't get buffer from pending buffer resource too early
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3795
This commit is contained in:
parent
00b869c1a9
commit
4688a371e0
2 changed files with 39 additions and 12 deletions
|
|
@ -240,6 +240,9 @@ struct wlr_surface {
|
|||
|
||||
struct wl_list synced; // wlr_surface_synced.link
|
||||
size_t synced_len;
|
||||
|
||||
struct wl_resource *pending_buffer_resource;
|
||||
struct wl_listener pending_buffer_resource_destroy;
|
||||
};
|
||||
|
||||
struct wlr_renderer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue