mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-07-02 07:00:07 +00:00
free-resize: add a 100% step to cycle window height for single windows
Poor-mans maximize height in free-resize mode
This commit is contained in:
@@ -2558,9 +2558,11 @@ function cycleWindowHeight(metaWindow) {
|
||||
});
|
||||
}
|
||||
|
||||
if (space[i].length >= 1) {
|
||||
space.layout(false, {customAllocators: {[i]: allocate}});
|
||||
if (space[i].length === 1) {
|
||||
steps = [].concat(steps, [1.0]);
|
||||
}
|
||||
|
||||
space.layout(false, {customAllocators: {[i]: allocate}});
|
||||
} else {
|
||||
// Not in tiling
|
||||
let workspace = metaWindow.get_workspace();
|
||||
|
||||
Reference in New Issue
Block a user