Skip to content

Commit

Permalink
master: fix full height when all windows master (#5549)
Browse files Browse the repository at this point in the history
  • Loading branch information
janpeterd authored Apr 11, 2024
1 parent 185a3b4 commit e0a7cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/MasterLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0a7cf5

Please sign in to comment.