diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 6132c656..e22ef5d4 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -366,7 +366,7 @@ void CHyprMasterLayout::resizeActiveWindow(const Vector2D& pixResize, CWindow* p double delta = pixResize.x / PMONITOR->vecSize.x; for (auto& n : m_lMasterNodesData) { - if (n.isMaster) + if (n.isMaster && n.workspaceID == PMONITOR->activeWorkspace) n.percMaster = std::clamp(n.percMaster + delta, 0.05, 0.95); }