ensure VRR for current display only in onConnect

This commit is contained in:
vaxerski
2022-10-28 23:48:48 +01:00
parent 341a0616aa
commit 74d05d0adc
3 changed files with 14 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ void CMonitor::onConnect(bool noRule) {
g_pEventManager->postEvent(SHyprIPCEvent{"monitoradded", szName});
// ensure VRR (will enable if necessary)
g_pConfigManager->ensureVRR();
g_pConfigManager->ensureVRR(this);
}
void CMonitor::onDisconnect() {