From 7501f3b4f99260bc188cf5114168660d9124ae9d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 11 Dec 2015 15:51:30 +0000 Subject: [PATCH] tests: Force X11 backend for the pixmap test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So it's usable as long as the X11 backend support is compiled into Clutter — and we can use this test to check that overriding works as intended. --- tests/interactive/test-pixmap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/interactive/test-pixmap.c b/tests/interactive/test-pixmap.c index 445cf5ff0..759345721 100644 --- a/tests/interactive/test-pixmap.c +++ b/tests/interactive/test-pixmap.c @@ -211,6 +211,10 @@ test_pixmap_main (int argc, char **argv) int i; int row_height; +#ifdef CLUTTER_WINDOWING_X11 + clutter_set_windowing_backend (CLUTTER_WINDOWING_X11); +#endif + if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) return 1;