Pass through duplicate commits if there are feedbacks.

Mutter and Weston behavior allows getting presentation feedbacks
for duplicate commits. This also allows gamescope to do the same.
This commit is contained in:
Hans-Kristian Arntzen 2023-05-11 15:22:12 +02:00 committed by Joshie
parent 072e31d007
commit 61121e206b

View file

@ -5676,7 +5676,7 @@ void update_wayland_res(CommitDoneList_t *doneCommits, steamcompmgr_win_t *w, Re
already_exists = true; already_exists = true;
} }
if ( already_exists ) if ( already_exists && !reslistentry.feedback && reslistentry.presentation_feedbacks.empty() )
{ {
wlserver_lock(); wlserver_lock();
wlr_buffer_unlock( buf ); wlr_buffer_unlock( buf );