mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 17:25:58 +01:00
master: fix full height when all windows master (#5549)
This commit is contained in:
parent
185a3b4881
commit
e0a7cf5c30
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ void CHyprMasterLayout::calculateWorkspace(PHLWORKSPACE pWorkspace) {
|
||||||
applyNodeDataToWindow(PMASTERNODE);
|
applyNodeDataToWindow(PMASTERNODE);
|
||||||
return;
|
return;
|
||||||
} else if (orientation == ORIENTATION_TOP || orientation == ORIENTATION_BOTTOM) {
|
} 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;
|
float widthLeft = WSSIZE.x;
|
||||||
int mastersLeft = MASTERS;
|
int mastersLeft = MASTERS;
|
||||||
float nextX = 0;
|
float nextX = 0;
|
||||||
|
|
Loading…
Reference in a new issue