Skip to content

Commit

Permalink
wm
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Dec 23, 2024
1 parent 30cbcf8 commit 47da897
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chadtree/transitions/shared/wm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ async def is_fm_window(win: Window) -> bool:
async def find_windows_in_tab(
last_used: Mapping[ExtData, None], no_secondary: bool
) -> AsyncIterator[Window]:
ordering = {win_id: idx for idx, win_id in enumerate(reversed(last_used.keys()))}
keys = cast(Sequence[ExtData], last_used.keys())
ordering = {win_id: idx for idx, win_id in enumerate(reversed(keys))}
tab = await Tabpage.get_current()
wins = await tab.list_wins()

Expand Down

0 comments on commit 47da897

Please sign in to comment.