hyprctl: recalc layout on setprop

This commit is contained in:
Vaxry 2023-06-04 21:35:17 +02:00
parent 2629cfeeab
commit 4ef684f615

View file

@ -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";
} }