This commit is contained in:
Kovid Goyal 2020-07-05 07:34:11 +05:30
parent 3c828feef2
commit 0adaf064e7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -211,7 +211,7 @@ class WindowList:
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)
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)
gid_map = {g.id: i for i, g in enumerate(self.groups)}
num = len(self.active_group_history)