diff --git a/src/Window.cpp b/src/Window.cpp index 28e783505..832d84a94 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -733,6 +733,9 @@ void CWindow::insertWindowToGroup(CWindow* pWindow) { const auto BEGINAT = this; const auto ENDAT = m_sGroupData.pNextWindow; + if (!pWindow->getDecorationByType(DECORATION_GROUPBAR)) + pWindow->m_dWindowDecorations.emplace_back(std::make_unique(pWindow)); + if (!pWindow->m_sGroupData.pNextWindow) { BEGINAT->m_sGroupData.pNextWindow = pWindow; pWindow->m_sGroupData.pNextWindow = ENDAT;