repaint on dynamic decoration keywords

This commit is contained in:
Vaxry 2023-01-12 12:14:57 +01:00
parent 11afb66010
commit 8440aa3e9b

View file

@ -618,6 +618,12 @@ std::string dispatchKeyword(std::string in) {
} }
} }
// decorations will probably need a repaint
if (COMMAND.contains("decoration:")) {
for (auto& m : g_pCompositor->m_vMonitors)
g_pHyprRenderer->damageMonitor(m.get());
}
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str()); Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
if (retval == "") if (retval == "")