mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:05:59 +01:00
hyprctl: recalc layout on setprop
This commit is contained in:
parent
2629cfeeab
commit
4ef684f615
1 changed files with 3 additions and 0 deletions
|
@ -999,6 +999,9 @@ std::string dispatchSetProp(std::string request) {
|
|||
|
||||
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors)
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);
|
||||
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue