From 61121e206b5f1da4a53a04c136f57e42d3ad5c3c Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Thu, 11 May 2023 15:22:12 +0200 Subject: [PATCH] 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. --- src/steamcompmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index c88a346..88250b6 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -5676,7 +5676,7 @@ void update_wayland_res(CommitDoneList_t *doneCommits, steamcompmgr_win_t *w, Re already_exists = true; } - if ( already_exists ) + if ( already_exists && !reslistentry.feedback && reslistentry.presentation_feedbacks.empty() ) { wlserver_lock(); wlr_buffer_unlock( buf );