forked from AuroraMiddleware/gtk
reftests: Fix compilation
FOREIGN surfaces are gone.
This commit is contained in:
parent
d13843ee2a
commit
0c76264953
@ -108,8 +108,7 @@ snapshot_window_native (GdkSurface *window,
|
|||||||
XWindowAttributes attrs;
|
XWindowAttributes attrs;
|
||||||
|
|
||||||
if (gdk_surface_get_surface_type (window) == GDK_SURFACE_TOPLEVEL ||
|
if (gdk_surface_get_surface_type (window) == GDK_SURFACE_TOPLEVEL ||
|
||||||
gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP ||
|
gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP)
|
||||||
gdk_surface_get_surface_type (window) == GDK_SURFACE_FOREIGN)
|
|
||||||
{
|
{
|
||||||
/* give the WM/server some time to sync. They need it.
|
/* give the WM/server some time to sync. They need it.
|
||||||
* Also, do use popups instead of toplevels in your tests
|
* Also, do use popups instead of toplevels in your tests
|
||||||
|
Loading…
Reference in New Issue
Block a user