mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 16:06:01 +01:00
recalculate layout on deco or border change
This commit is contained in:
parent
70b5c1b119
commit
1cc7587789
1 changed files with 3 additions and 1 deletions
|
@ -620,8 +620,10 @@ std::string dispatchKeyword(std::string in) {
|
|||
|
||||
// decorations will probably need a repaint
|
||||
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_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);
|
||||
}
|
||||
}
|
||||
|
||||
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
|
||||
|
|
Loading…
Reference in a new issue