Skip to content

Commit 4523a9b

Browse files
committed
Test
1 parent 88291d1 commit 4523a9b

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

test/test_wm.py

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -837,28 +837,8 @@ def initial_monitor_layout(self):
837837
return m0, m1
838838

839839
@pytest.fixture
840-
def max_size_allocations(
841-
self,
842-
gdk_backend,
843-
layout_mode,
844-
monitor_layout,
845-
window_monitor,
846-
current_monitor,
847-
shell_dbus_interface,
848-
):
849-
if gdk_backend == GdkBackend.X11:
850-
return 1
851-
852-
if layout_mode == displayconfig.LayoutMode.LOGICAL:
853-
return 1
854-
855-
if monitor_layout[0].scale == monitor_layout[1].scale:
856-
return 1
857-
858-
if window_monitor == current_monitor and shell_dbus_interface.ShellVersion >= (45,):
859-
return 1
860-
861-
return 2
840+
def max_size_allocations(self):
841+
return 1
862842

863843
@pytest.fixture
864844
def max_window_rect_changes(self, max_size_allocations):

0 commit comments

Comments
 (0)