disable adaptive sync with no_vfr off

This commit is contained in:
vaxerski
2022-10-22 21:45:17 +01:00
parent 2995867760
commit 47eac4be1c
5 changed files with 41 additions and 8 deletions

View File

@@ -136,6 +136,9 @@ void CMonitor::onConnect(bool noRule) {
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);
g_pEventManager->postEvent(SHyprIPCEvent{"monitoradded", szName});
// ensure VRR (will enable if necessary)
g_pConfigManager->ensureVRR();
}
void CMonitor::onDisconnect() {