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.
This commit is contained in:
parent
3a3f6f8241
commit
146da86c89
1 changed files with 1 additions and 1 deletions
|
@ -6384,7 +6384,7 @@ void handle_done_commits_xwayland( xwayland_ctx_t *ctx )
|
||||||
if ( entry.desiredPresentTime > next_refresh_time )
|
if ( entry.desiredPresentTime > next_refresh_time )
|
||||||
{
|
{
|
||||||
commits_before_their_time.push_back( entry );
|
commits_before_their_time.push_back( entry );
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( steamcompmgr_win_t *w = ctx->list; w; w = w->xwayland().next )
|
for ( steamcompmgr_win_t *w = ctx->list; w; w = w->xwayland().next )
|
||||||
|
|
Loading…
Reference in a new issue