Fix failing test

This commit is contained in:
Kovid Goyal 2020-01-15 11:48:13 +05:30
parent 1347ff27d9
commit 2f7bdc274d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -5,6 +5,7 @@
from kitty.config import defaults
from kitty.fast_data_types import pt_to_px
from kitty.layout import Horizontal, Stack, Tall, Grid, idx_for_id
from kitty.constants import WindowGeometry
from . import BaseTest
@ -16,6 +17,7 @@ class Window:
self.overlay_for = overlay_for
self.overlay_window_id = overlay_window_id
self.is_visible_in_layout = True
self.geometry = WindowGeometry(0, 0, 0, 0, 0, 0)
def set_visible_in_layout(self, idx, val):
self.is_visible_in_layout = bool(val)