Fix #2832
This commit is contained in:
parent
3c828feef2
commit
0adaf064e7
@ -211,7 +211,7 @@ class WindowList:
|
|||||||
def iter_all_layoutable_groups(self, only_visible: bool = False) -> Iterator[WindowGroup]:
|
def iter_all_layoutable_groups(self, only_visible: bool = False) -> Iterator[WindowGroup]:
|
||||||
return iter(g for g in self.groups if g.is_visible_in_layout) if only_visible else iter(self.groups)
|
return iter(g for g in self.groups if g.is_visible_in_layout) if only_visible else iter(self.groups)
|
||||||
|
|
||||||
def make_previous_group_active(self, which: int = 1, notify: bool = False) -> None:
|
def make_previous_group_active(self, which: int = 1, notify: bool = True) -> None:
|
||||||
which = max(1, which)
|
which = max(1, which)
|
||||||
gid_map = {g.id: i for i, g in enumerate(self.groups)}
|
gid_map = {g.id: i for i, g in enumerate(self.groups)}
|
||||||
num = len(self.active_group_history)
|
num = len(self.active_group_history)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user