more bugs

This commit is contained in:
Kovid Goyal
2017-11-15 22:20:29 +05:30
parent d344c391fd
commit ab604fb149
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ def edge(func, os_window_id, tab_id, color, sz, a, b):
def border(os_window_id, tab_id, color, sz, left, top, right, bottom):
horz = edge(horizontal_edge, os_window_id, tab_id, color, sz, left, right)
horz(top), horz(bottom - sz) # top, bottom edges
vert = edge(vertical_edge, color, sz, top, bottom)
vert = edge(vertical_edge, os_window_id, tab_id, color, sz, top, bottom)
vert(left), vert(right - sz) # left, right edges

View File

@@ -70,7 +70,7 @@ class Boss:
self.opts, self.args = opts, args
initialize_renderer()
startup_session = create_session(opts, args)
self.add_os_window(startup_session)
self.add_os_window(startup_session, os_window_id=os_window_id)
def add_os_window(self, startup_session, os_window_id=None):
if os_window_id is None: