summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2023-04-18 23:57:08 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2023-05-15 19:22:06 +0200
commit9248face453ab530dfa35f266d1cc04569122745 (patch)
tree3852c8be28185b11e8a233e3245ed16a7d8e23b2 /src
parent5a51199c0a558f2f1b0757a584bff07f9167acbd (diff)
downloadmutter-9248face453ab530dfa35f266d1cc04569122745.tar.gz
tests/test-client: Ensure that screen has always a compositorgnome-44
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970>
Diffstat (limited to 'src')
-rw-r--r--src/tests/test-client.c2
1 files changed, 2 insertions, 0 deletions
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 {"