diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-04-02 17:22:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-03 01:22:59 +0100 |
| commit | fbdaf74a82b38e11a0a6914b3c9f7cb934ac1624 (patch) | |
| tree | 2b2346f50622650ef0109e16826e74dbfc72bb8c /src/layout/MasterLayout.cpp | |
| parent | 3965faafacf18f6e43be91ba326ddfce3948eb3d (diff) | |
master: fix swapped workspaces (#5397)
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index f8f710f6..ea906943 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -809,7 +809,7 @@ void CHyprMasterLayout::resizeActiveWindow(const Vector2D& pixResize, eRectCorne default: UNREACHABLE(); } - const auto workspaceIdForResizing = PMONITOR->activeSpecialWorkspace ? PMONITOR->activeWorkspaceID() : PMONITOR->activeSpecialWorkspaceID(); + const auto workspaceIdForResizing = PMONITOR->activeSpecialWorkspace ? PMONITOR->activeSpecialWorkspaceID() : PMONITOR->activeWorkspaceID(); for (auto& n : m_lMasterNodesData) { if (n.isMaster && n.workspaceID == workspaceIdForResizing) n.percMaster = std::clamp(n.percMaster + delta, 0.05, 0.95); |
