Fix incorrect window border drawing for overlay windows
This commit is contained in:
parent
6c7247f726
commit
b8ab15bea8
@ -99,8 +99,9 @@ class Tab: # {{{
|
||||
def relayout_borders(self):
|
||||
tm = self.tab_manager_ref()
|
||||
if tm is not None:
|
||||
self.borders(self.windows, self.active_window, self.current_layout,
|
||||
tm.blank_rects, self.current_layout.needs_window_borders and len(self.windows) > 1)
|
||||
visible_windows = [w for w in self.windows if w.is_visible_in_layout]
|
||||
self.borders(visible_windows, self.active_window, self.current_layout,
|
||||
tm.blank_rects, self.current_layout.needs_window_borders and len(visible_windows) > 1)
|
||||
|
||||
def create_layout_object(self, idx):
|
||||
return all_layouts[idx](self.os_window_id, self.id, self.opts, self.borders.border_width)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user