Remove unused slot

This commit is contained in:
Kovid Goyal 2020-01-25 11:22:22 +05:30
parent f32ae10339
commit 2c6cc6f047
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 0 additions and 6 deletions

View file

@ -162,7 +162,6 @@ class Layout: # {{{
name = None
needs_window_borders = True
only_active_window_visible = False
layout_data_class = None
def __init__(self, os_window_id, tab_id, margin_width, single_window_margin_width, padding_width, border_width, layout_opts=''):
self.os_window_id = os_window_id
@ -406,10 +405,6 @@ def bottom_blank_rect(self, window):
self.blank_rects.append(Rect(window.geometry.left, window.geometry.bottom, window.geometry.right, central.bottom + 1))
# }}}
def layout_data_for_window(self, w):
if self.layout_data_class is not None and isinstance(w.layout_data, self.layout_data_class):
return w.layout_data
def do_layout(self, windows, active_window_idx):
raise NotImplementedError()

View file

@ -135,7 +135,6 @@ class Window:
def __init__(self, tab, child, opts, args, override_title=None, copy_colors_from=None):
self.action_on_close = self.action_on_removal = None
self.layout_data = None
self.current_marker_spec = None
self.pty_resized_once = False
self.needs_attention = False