Skip to content

Commit

Permalink
steamcompmgr: don't erase multiple commits with future desired time
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
emersion authored and misyltoad committed Nov 24, 2023
1 parent 3a3f6f8 commit 146da86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 146da86

Please sign in to comment.