mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
tests/test-client: Ensure that screen has always a compositor
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970>
This commit is contained in:
parent
b48351005e
commit
c653f30283
@ -1003,6 +1003,8 @@ main(int argc, char **argv)
|
|||||||
gtk_init (NULL, NULL);
|
gtk_init (NULL, NULL);
|
||||||
|
|
||||||
screen = gdk_screen_get_default ();
|
screen = gdk_screen_get_default ();
|
||||||
|
g_assert_true (gdk_screen_is_composited (screen));
|
||||||
|
|
||||||
provider = gtk_css_provider_new ();
|
provider = gtk_css_provider_new ();
|
||||||
static const char *no_decoration_css =
|
static const char *no_decoration_css =
|
||||||
"decoration {"
|
"decoration {"
|
||||||
|
Loading…
Reference in New Issue
Block a user