Merge branch 'fix/window-border' of https://github.com/pyrho/kitty
This commit is contained in:
@@ -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]:
|
def minimal_borders(self, windows: WindowList, active_window: Optional[WindowType], needs_borders_map: Dict[int, bool]) -> Generator[Borders, None, None]:
|
||||||
for w in windows:
|
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
|
yield all_borders
|
||||||
else:
|
else:
|
||||||
yield no_borders
|
yield no_borders
|
||||||
|
|||||||
Reference in New Issue
Block a user