Merge branch 'must_draw_borders_flag' of https://github.com/franco/kitty
This commit is contained in:
commit
b4f24e4e1e
@ -208,6 +208,7 @@ class Layout: # {{{
|
||||
|
||||
name: Optional[str] = None
|
||||
needs_window_borders = True
|
||||
must_draw_borders = False
|
||||
needs_all_windows = False
|
||||
layout_opts = LayoutOpts({})
|
||||
only_active_window_visible = False
|
||||
|
||||
@ -231,7 +231,7 @@ class Tab: # {{{
|
||||
windows=visible_windows, active_window=w,
|
||||
current_layout=self.current_layout, extra_blank_rects=tm.blank_rects,
|
||||
padding_width=self.padding_width, border_width=self.border_width,
|
||||
draw_window_borders=self.current_layout.needs_window_borders and len(visible_windows) > 1
|
||||
draw_window_borders=self.current_layout.needs_window_borders and len(visible_windows) > 1 or self.current_layout.must_draw_borders
|
||||
)
|
||||
if w is not None:
|
||||
w.change_titlebar_color()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user