diff options
| author | François Conzelmann <45296195+zephvr@users.noreply.github.com> | 2023-11-30 02:48:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 01:48:10 +0000 |
| commit | 1fc1e4e9cbc2569eb4d3841f22020f35e9642f12 (patch) | |
| tree | e8234f8e0cc5608e7729e699fc947d1d3b864922 /src/managers/KeybindManager.cpp | |
| parent | e1258707adeb3061600c43a5445063c5e3c59037 (diff) | |
monitor: remove comma from monitor description (#3996)
this allows for monitor specific rules to work on monitor with comma on
their description
fixes #2457
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 986de55e..11e2fa02 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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; |
