diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-11 15:51:30 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-11 15:53:24 +0000 |
commit | 7501f3b4f99260bc188cf5114168660d9124ae9d (patch) | |
tree | d6615cd938d14971eeb55cb4d5cf2765ffc19aae | |
parent | e9b5eb3045d335b6ebbfc7443076754447447065 (diff) | |
download | clutter-7501f3b4f99260bc188cf5114168660d9124ae9d.tar.gz |
tests: Force X11 backend for the pixmap test
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.
-rw-r--r-- | tests/interactive/test-pixmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |