From c653f302831a5804ddf11dd75e8e77ebffd93488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 18 Apr 2023 23:57:08 +0200 Subject: [PATCH] tests/test-client: Ensure that screen has always a compositor Part-of: --- src/tests/test-client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/test-client.c b/src/tests/test-client.c index a468e6137..6ee7b6c4a 100644 --- a/src/tests/test-client.c +++ b/src/tests/test-client.c @@ -1003,6 +1003,8 @@ main(int argc, char **argv) gtk_init (NULL, NULL); screen = gdk_screen_get_default (); + g_assert_true (gdk_screen_is_composited (screen)); + provider = gtk_css_provider_new (); static const char *no_decoration_css = "decoration {"