mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-22 05:34:24 -04:00
linux_drm_syncobj_v1: fix handling of empty first commit
As reported in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4979#note_3385626,bfd6e619fcdid not correctly handle clients that don't immediately follow their call to `wp_linux_drm_syncobj_manager_v1.get_surface` with a commit attaching a buffer Fixes:bfd6e619fc
This commit is contained in:
parent
4ca40004fd
commit
fd870f6d27
2 changed files with 11 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ struct wlr_linux_drm_syncobj_surface_v1_state {
|
|||
uint64_t acquire_point;
|
||||
|
||||
struct {
|
||||
bool committed;
|
||||
struct wlr_drm_syncobj_timeline *release_timeline;
|
||||
uint64_t release_point;
|
||||
struct wlr_drm_syncobj_merger *release_merger;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue