From 71e2562a4151b506cece69f7d121847957d4bac4 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 5 Oct 2022 10:22:33 +0100 Subject: add desc: to monitor rules --- src/managers/KeybindManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 337ce059..5a2d10a3 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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; -- cgit v1.2.3