core: refactor/improve monitor mode selection (#8804)
This commit is contained in:
parent
c600e1aaff
commit
8d4c18d723
7 changed files with 384 additions and 425 deletions
|
|
@ -1992,7 +1992,7 @@ SDispatchResult CKeybindManager::forceRendererReload(std::string args) {
|
|||
continue;
|
||||
|
||||
auto rule = g_pConfigManager->getMonitorRuleFor(m);
|
||||
if (!g_pHyprRenderer->applyMonitorRule(m, &rule, true)) {
|
||||
if (!m->applyMonitorRule(&rule, true)) {
|
||||
overAgain = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue