mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:25:58 +01:00
hyprctl: recalc layout on dynamic workspace
This commit is contained in:
parent
413a36a914
commit
cc01550aff
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ std::string dispatchKeyword(std::string in) {
|
|||
}
|
||||
|
||||
// decorations will probably need a repaint
|
||||
if (COMMAND.contains("decoration:") || COMMAND.contains("border")) {
|
||||
if (COMMAND.contains("decoration:") || COMMAND.contains("border") || COMMAND == "workspace") {
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
g_pHyprRenderer->damageMonitor(m.get());
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);
|
||||
|
|
Loading…
Reference in a new issue