allow vrr with vfr=false

This commit is contained in:
UjinT34 2024-07-09 12:15:25 +03:00
parent 4c84d51a4c
commit 0c41f25486

View File

@ -1457,7 +1457,7 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) {
if (shouldTear)
pMonitor->tearingState.busy = true;
if (*PDAMAGEBLINK || *PVFR == 0 || pMonitor->pendingFrame)
if (*PDAMAGEBLINK || (*PVFR == 0 && !pMonitor->output->state->state().adaptiveSync) || pMonitor->pendingFrame)
g_pCompositor->scheduleFrameForMonitor(pMonitor);
pMonitor->pendingFrame = false;