mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
Merge branch 'fix/window-border' of https://github.com/pyrho/kitty
This commit is contained in:
commit
254836902c
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ class Layout: # {{{
|
|||
|
||||
def minimal_borders(self, windows: WindowList, active_window: Optional[WindowType], needs_borders_map: Dict[int, bool]) -> Generator[Borders, None, None]:
|
||||
for w in windows:
|
||||
if (w is active_window and draw_active_borders) or w.needs_attention:
|
||||
if w is not active_window or draw_active_borders or w.needs_attention:
|
||||
yield all_borders
|
||||
else:
|
||||
yield no_borders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue