Remove unused code

This commit is contained in:
Kovid Goyal 2017-09-11 15:54:19 +05:30
parent 084f31292b
commit 634cd53454
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -36,7 +36,6 @@ def border(color, sz, left, top, right, bottom):
class Borders:
def __init__(self, opts):
self.is_dirty = False
self.border_width = pt_to_px(opts.window_border_width)
self.padding_width = pt_to_px(opts.window_padding_width)
compile_program(BORDERS_PROGRAM, *load_shaders('border'))
@ -44,7 +43,6 @@ class Borders:
self.background = color_as_int(opts.background)
self.active_border = color_as_int(opts.active_border_color)
self.inactive_border = color_as_int(opts.inactive_border_color)
self.dirty = False
def __call__(
self,