monitor: update pinned window states properly on changeWorkspace (#13441)
ref https://github.com/hyprwm/Hyprland/discussions/13440
This commit is contained in:
parent
85c2764f5e
commit
0b55c55f4a
2 changed files with 49 additions and 1 deletions
|
|
@ -1343,7 +1343,7 @@ void CMonitor::changeWorkspace(const PHLWORKSPACE& pWorkspace, bool internal, bo
|
|||
// move pinned windows
|
||||
for (auto const& w : g_pCompositor->m_windows) {
|
||||
if (w->m_workspace == POLDWORKSPACE && w->m_pinned)
|
||||
w->moveToWorkspace(pWorkspace);
|
||||
w->layoutTarget()->assignToSpace(pWorkspace->m_space);
|
||||
}
|
||||
|
||||
if (!noFocus && !Desktop::focusState()->monitor()->m_activeSpecialWorkspace &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue