This commit is contained in:
Kovid Goyal 2020-06-09 09:51:15 +05:30
parent 27b6517594
commit 5c7471910d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -404,7 +404,9 @@ class Splits(Layout):
return True
def window_independent_borders(self, all_windows: WindowList) -> Generator[Edges, None, None]:
if not lgd.draw_minimal_borders:
groups = tuple(all_windows.iter_all_layoutable_groups())
window_count = len(groups)
if not lgd.draw_minimal_borders or window_count < 2:
return
for pair in self.pairs_root.self_and_descendants():
if pair.between_border is not None: