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:
Benjamin Otte 2011-07-05 15:28:18 +02:00
parent ace4faa4e2
commit 769c795d57
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<object class="GtkOffscreenWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<object class="GtkOffscreenWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>