diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-23 14:26:38 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-23 14:26:38 +0200 |
| commit | eb1f832fcec5838053c6b031b656e4f949ada57b (patch) | |
| tree | 5e945f2953ff2217976f77e9da67de5727c466f1 /src/managers/KeybindManager.cpp | |
| parent | 799add8659fe896579f050ee0ddeda63a2df5b91 (diff) | |
decos: recalc on add
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 8dad6700..e3e56ef7 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1165,6 +1165,7 @@ void CKeybindManager::toggleGroup(std::string args) { PWINDOW->m_dWindowDecorations.emplace_back(std::make_unique<CHyprGroupBarDecoration>(PWINDOW)); PWINDOW->updateWindowDecos(); + g_pLayoutManager->getCurrentLayout()->recalculateWindow(PWINDOW); } else { if (PWINDOW->m_sGroupData.pNextWindow == PWINDOW) { PWINDOW->m_sGroupData.pNextWindow = nullptr; @@ -1999,6 +2000,9 @@ void CKeybindManager::moveIntoGroup(std::string args) { PWINDOWINDIR->insertWindowToGroup(PWINDOW); PWINDOW->m_dWindowDecorations.emplace_back(std::make_unique<CHyprGroupBarDecoration>(PWINDOW)); + + PWINDOW->updateWindowDecos(); + g_pLayoutManager->getCurrentLayout()->recalculateWindow(PWINDOW); } void CKeybindManager::moveOutOfGroup(std::string args) { |
