This commit is contained in:
Kovid Goyal 2025-02-08 08:21:22 +05:30
parent af917e6bcc
commit 07a7b23223
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -515,9 +515,7 @@ def add_non_overlay_window(
aw = next_to or all_windows.active_window
if bias:
bias = max(0, min(abs(bias), 100)) / 100
if aw is not None:
ag = all_windows.active_group
assert ag is not None
if aw is not None and (ag := all_windows.group_for_window(aw)) is not None:
group_id = ag.id
pair = self.pairs_root.pair_for_window(group_id)
if pair is not None: