Merge branch 'nth_os_window-fix' of https://github.com/jackielii/kitty

This commit is contained in:
Kovid Goyal 2024-01-18 19:08:58 +05:30
commit 0447b17af2
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1733,7 +1733,7 @@ class Boss:
focus_os_window(os_window_id, True)
elif num < 0:
fc_map = os_window_focus_counters()
s = sorted(fc_map.keys(), key=fc_map.__getitem__, reverse=True)
s = sorted(fc_map.keys(), key=fc_map.__getitem__)
if not s:
return
try: