mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 20:30:41 -05:00
tests: Use custom Wayland display name
This gets rid of a warning about the Wayland display name already being taken. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
239671f882
commit
95c101a0ba
@ -1159,6 +1159,7 @@ main (int argc, char **argv)
|
|||||||
g_option_context_free (ctx);
|
g_option_context_free (ctx);
|
||||||
|
|
||||||
meta_plugin_manager_load ("default");
|
meta_plugin_manager_load ("default");
|
||||||
|
meta_wayland_override_display_name ("mutter-test-display");
|
||||||
|
|
||||||
meta_init ();
|
meta_init ();
|
||||||
meta_register_with_session ();
|
meta_register_with_session ();
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include "core/main-private.h"
|
#include "core/main-private.h"
|
||||||
#include "tests/meta-backend-test.h"
|
#include "tests/meta-backend-test.h"
|
||||||
#include "tests/monitor-unit-tests.h"
|
#include "tests/monitor-unit-tests.h"
|
||||||
|
#include "wayland/meta-wayland.h"
|
||||||
|
|
||||||
typedef struct _MetaTestLaterOrderCallbackData
|
typedef struct _MetaTestLaterOrderCallbackData
|
||||||
{
|
{
|
||||||
@ -224,6 +225,7 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
meta_override_compositor_configuration (META_COMPOSITOR_TYPE_WAYLAND,
|
meta_override_compositor_configuration (META_COMPOSITOR_TYPE_WAYLAND,
|
||||||
META_TYPE_BACKEND_TEST);
|
META_TYPE_BACKEND_TEST);
|
||||||
|
meta_wayland_override_display_name ("mutter-test-display");
|
||||||
|
|
||||||
meta_init ();
|
meta_init ();
|
||||||
meta_register_with_session ();
|
meta_register_with_session ();
|
||||||
|
Loading…
Reference in New Issue
Block a user