better dwindle swapping with groups

This commit is contained in:
vaxerski 2022-09-20 18:04:39 +01:00
parent 6f98b3cbd8
commit 7a9423c782
3 changed files with 100 additions and 17 deletions

View file

@ -45,7 +45,7 @@ void CHyprGroupBarDecoration::updateWindow(CWindow* pWindow) {
// get the group info
SLayoutMessageHeader header;
header.pWindow = g_pCompositor->m_pLastWindow;
header.pWindow = m_pWindow;
m_dwGroupMembers = std::any_cast<std::deque<CWindow*>>(g_pLayoutManager->getCurrentLayout()->layoutMessage(header, "groupinfo"));