From e333a330c0ddb07db39028fa8b3a47b3f7d21b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Sat, 28 Feb 2026 18:19:29 +0000 Subject: desktop/group: fix movegroupwindow not following focus (#13426) --- src/desktop/view/Group.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/desktop/view') diff --git a/src/desktop/view/Group.cpp b/src/desktop/view/Group.cpp index 67a89986..a14ea0be 100644 --- a/src/desktop/view/Group.cpp +++ b/src/desktop/view/Group.cpp @@ -317,6 +317,7 @@ void CGroup::swapWithNext() { size_t idx = m_current + 1 >= m_windows.size() ? 0 : m_current + 1; std::iter_swap(m_windows.begin() + m_current, m_windows.begin() + idx); + m_current = idx; updateWindowVisibility(); @@ -329,6 +330,7 @@ void CGroup::swapWithLast() { size_t idx = m_current == 0 ? m_windows.size() - 1 : m_current - 1; std::iter_swap(m_windows.begin() + m_current, m_windows.begin() + idx); + m_current = idx; updateWindowVisibility(); -- cgit v1.2.3