mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-22 13:12:23 +00:00
Fix deleting windows that are not the last window via remote control leaving no window focused
Fixes #3619
This commit is contained in:
parent
4125ac013f
commit
3bf9130b0a
2 changed files with 5 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||
- Fix passing STDIN to launched background processes causing them to not inherit
|
||||
environment variables (:pull:`3603`)
|
||||
|
||||
- Fix deleting windows that are not the last window via remote control leaving
|
||||
no window focused (:iss:`3619`)
|
||||
|
||||
|
||||
0.20.3 [2021-05-06]
|
||||
----------------------
|
||||
|
|
|
|||
|
|
@ -330,6 +330,8 @@ class WindowList:
|
|||
if self.groups:
|
||||
if self.active_group_idx == i:
|
||||
self.make_previous_group_active(notify=False)
|
||||
elif self.active_group_idx >= len(self.groups):
|
||||
self._active_group_idx -= 1
|
||||
else:
|
||||
self._active_group_idx = -1
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue