diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-02-28 22:42:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 22:42:06 +0000 |
| commit | 0b55c55f4acf8056bc278cf80899471a5beeda0b (patch) | |
| tree | 0aad77ed577abfc27a32f2c870b8e978a86a39cd /src/helpers/Monitor.cpp | |
| parent | 85c2764f5ec6317044fa3eb128dfba4a3b347422 (diff) | |
monitor: update pinned window states properly on changeWorkspace (#13441)
ref https://github.com/hyprwm/Hyprland/discussions/13440
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index d77a7e76..c2e2fa3c 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -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 && |
