steamcompmgr: Always send frame callback for any current surface (not just main)
Fixes a stall with the WSI Layer in the Granite latency test
This commit is contained in:
parent
dd7df68143
commit
799869e3c7
1 changed files with 1 additions and 1 deletions
|
@ -4487,7 +4487,7 @@ steamcompmgr_send_done( steamcompmgr_win_t *w, uint64_t vblank_idx, struct times
|
|||
{
|
||||
wlr_surface *main_surface = w->main_surface();
|
||||
wlr_surface *current_surface = w->current_surface();
|
||||
bool bSendCallback = main_surface != nullptr;
|
||||
bool bSendCallback = current_surface != nullptr;
|
||||
|
||||
int nRefresh = g_nNestedRefresh ? g_nNestedRefresh : g_nOutputRefresh;
|
||||
int nTargetFPS = g_nSteamCompMgrTargetFPS;
|
||||
|
|
Loading…
Reference in a new issue