forked from AuroraMiddleware/gtk
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:
parent
ace4faa4e2
commit
769c795d57
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user