add desc: to monitor rules

This commit is contained in:
vaxerski
2022-10-05 10:22:33 +01:00
parent 9153a81090
commit 71e2562a41
5 changed files with 12 additions and 10 deletions

View File

@@ -1332,7 +1332,7 @@ void CKeybindManager::forceRendererReload(std::string args) {
bool overAgain = false;
for (auto& m : g_pCompositor->m_vMonitors) {
auto rule = g_pConfigManager->getMonitorRuleFor(m->szName);
auto rule = g_pConfigManager->getMonitorRuleFor(m->szName, m->output->description ? m->output->description : "");
if (!g_pHyprRenderer->applyMonitorRule(m.get(), &rule, true)) {
overAgain = true;
break;