reftests: Use an offscreen window to avoid artifacts
When tests are larger than the screen size and no compositing is enabled, the window will be clipped to the screen size and all areas outside of the screen have undefined contents. To avoid this, we can use an offscreen window.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkOffscreenWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="type">popup</property>
|
<property name="type">popup</property>
|
||||||
<child>
|
<child>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkOffscreenWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="type">popup</property>
|
<property name="type">popup</property>
|
||||||
<child>
|
<child>
|
||||||
|
|||||||
Reference in New Issue
Block a user