File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments