diff --git a/tiling.js b/tiling.js index 36e2693..afc37f9 100644 --- a/tiling.js +++ b/tiling.js @@ -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();