mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 07:49:49 +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();
|
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
||||||
|
|
||||||
|
for (auto& m : g_pCompositor->m_vMonitors)
|
||||||
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);
|
||||||
|
|
||||||
return "ok";
|
return "ok";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue