damage on border change

This commit is contained in:
Vaxry 2023-01-12 13:33:45 +01:00
parent 8440aa3e9b
commit cbd31ba481

View file

@ -619,7 +619,7 @@ std::string dispatchKeyword(std::string in) {
} }
// decorations will probably need a repaint // decorations will probably need a repaint
if (COMMAND.contains("decoration:")) { if (COMMAND.contains("decoration:") || COMMAND.contains("border")) {
for (auto& m : g_pCompositor->m_vMonitors) for (auto& m : g_pCompositor->m_vMonitors)
g_pHyprRenderer->damageMonitor(m.get()); g_pHyprRenderer->damageMonitor(m.get());
} }