core: refactor/improve monitor mode selection (#8804)

This commit is contained in:
Ikalco 2024-12-28 07:32:04 -06:00 committed by GitHub
parent c600e1aaff
commit 8d4c18d723
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 384 additions and 425 deletions

View file

@ -425,7 +425,7 @@ void CCompositor::initAllSignals() {
for (auto const& m : m_vMonitors) {
scheduleFrameForMonitor(m);
g_pHyprRenderer->applyMonitorRule(m, &m->activeMonitorRule, true);
m->applyMonitorRule(&m->activeMonitorRule, true);
}
g_pConfigManager->m_bWantsMonitorReload = true;