summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAqa-Ib <victorcana@gmx.com>2024-10-30 10:00:58 +0000
committerGitHub <noreply@github.com>2024-10-30 10:00:58 +0000
commit5f721dce36651232ae245d872c17dfa3aae5cc6c (patch)
tree6db9c78da825d1873209f54341552e8b795d024d /src/render
parentd679d200299ed4670f0d0f138c793d5f507b7cec (diff)
group: fix moveWindowIntoGroup (#8297)
Diffstat (limited to 'src/render')
-rw-r--r--src/render/decorations/CHyprGroupBarDecoration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp
index e342e244..c9f812d7 100644
--- a/src/render/decorations/CHyprGroupBarDecoration.cpp
+++ b/src/render/decorations/CHyprGroupBarDecoration.cpp
@@ -439,9 +439,9 @@ bool CHyprGroupBarDecoration::onEndWindowDragOnDeco(const Vector2D& pos, PHLWIND
// restores the group
for (auto it = members.begin(); it != members.end(); ++it) {
- (*it)->m_bIsFloating = pWindowInsertAfter->m_bIsFloating; // match the floating state of group members
- if (pWindowInsertAfter->m_bIsFloating)
- (*it)->m_vRealSize = pWindowInsertAfter->m_vRealSize.goal(); // match the size of group members
+ (*it)->m_bIsFloating = pWindowInsertAfter->m_bIsFloating; // match the floating state of group members
+ (*it)->m_vRealSize = pWindowInsertAfter->m_vRealSize.goal(); // match the size of group members
+ (*it)->m_vRealPosition = pWindowInsertAfter->m_vRealPosition.goal(); // match the position of group members
if (std::next(it) != members.end())
(*it)->m_sGroupData.pNextWindow = *std::next(it);
else