diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2024-01-19 12:10:39 +0300 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-27 17:48:07 +0300 |
commit | 4688a371e04787f5bb059e80b5de506f0a8f00ff (patch) | |
tree | 97e7a3c2e9b1cb5ae627742ef0673700bb307503 /include | |
parent | 00b869c1a96f300a8f25da95d624524895e0ddf2 (diff) |
compositor: don't get buffer from pending buffer resource too early
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3795
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 2005a949..39bc3e21 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -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; |