monitor: remove comma from monitor description (#3996)

this allows for monitor specific rules to work on monitor with comma on
their description

fixes #2457
This commit is contained in:
François Conzelmann
2023-11-30 02:48:10 +01:00
committed by GitHub
parent e1258707ad
commit 1fc1e4e9cb
6 changed files with 13 additions and 8 deletions

View File

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