mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 20:21:54 -07:00
fix master resizes all
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user