Tall/fat layout: Fix resizing of windows when number of windows is <= num of full size windows not working
This commit is contained in:
parent
25623c758d
commit
80f8692e92
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ def do_layout(self, all_windows: WindowList) -> None:
|
|||
if num <= self.num_full_size_windows + 1:
|
||||
if mirrored:
|
||||
groups = tuple(reversed(groups))
|
||||
if num < self.num_full_size_windows + 1:
|
||||
main_bias = normalize_biases(main_bias[:num])
|
||||
xlayout = self.main_axis_layout(iter(groups), bias=main_bias)
|
||||
for wg, xl in zip(groups, xlayout):
|
||||
yl = next(self.perp_axis_layout(iter((wg,))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue