mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-19 17:58:24 +00:00
master: fix full height when all windows master (#5549)
This commit is contained in:
@@ -369,7 +369,7 @@ void CHyprMasterLayout::calculateWorkspace(PHLWORKSPACE pWorkspace) {
|
||||
applyNodeDataToWindow(PMASTERNODE);
|
||||
return;
|
||||
} else if (orientation == ORIENTATION_TOP || orientation == ORIENTATION_BOTTOM) {
|
||||
const float HEIGHT = WSSIZE.y * PMASTERNODE->percMaster;
|
||||
const float HEIGHT = STACKWINDOWS != 0 ? WSSIZE.y * PMASTERNODE->percMaster : WSSIZE.y;
|
||||
float widthLeft = WSSIZE.x;
|
||||
int mastersLeft = MASTERS;
|
||||
float nextX = 0;
|
||||
|
Reference in New Issue
Block a user