xwayland-test: Replace the xwayland-test
The old xwayland-test hasn't worked in a while...
This new test checks that the wayland specific WL_SURFACE_ID atom exists,
checks that the window manager name is "Weston WM" and then maps a window
and waits for an exposure event.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Tested-by: Bryce Harrington <bryce@osg.samsung.com>
diff --git a/configure.ac b/configure.ac
index ef1ed2c..163d130 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,7 +103,7 @@
[XSERVER_PATH="$bindir/Xwayland"])
AC_SUBST([XSERVER_PATH])
if test x$enable_xwayland_test = xyes; then
- PKG_CHECK_MODULES([XWAYLAND_TEST], xcb xcb-dri2 libdrm)
+ PKG_CHECK_MODULES([XWAYLAND_TEST], x11)
fi
fi