mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:05:59 +01:00
repaint on dynamic decoration keywords
This commit is contained in:
parent
11afb66010
commit
8440aa3e9b
1 changed files with 6 additions and 0 deletions
|
@ -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());
|
||||
|
||||
if (retval == "")
|
||||
|
|
Loading…
Reference in a new issue