From 146da86c89a392d61ab562c1ef355c5097086fed Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 24 Nov 2023 14:31:52 +0100 Subject: [PATCH] steamcompmgr: don't erase multiple commits with future desired time If the queue contains two commits with a desired time set in the future, keep the second one in the queue instead of discarding it. --- src/steamcompmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 081d342..1c6ed8d 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -6384,7 +6384,7 @@ void handle_done_commits_xwayland( xwayland_ctx_t *ctx ) if ( entry.desiredPresentTime > next_refresh_time ) { commits_before_their_time.push_back( entry ); - break; + continue; } for ( steamcompmgr_win_t *w = ctx->list; w; w = w->xwayland().next )