meta-wayland: Use meta_clutter_init
This commit is contained in:
parent
89b931435d
commit
521125b672
@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
|
|
||||||
|
#include "backends/meta-backend.h"
|
||||||
|
|
||||||
#include "meta-wayland-private.h"
|
#include "meta-wayland-private.h"
|
||||||
#include "meta-xwayland-private.h"
|
#include "meta-xwayland-private.h"
|
||||||
#include "meta-wayland-stage.h"
|
#include "meta-wayland-stage.h"
|
||||||
@ -634,8 +636,7 @@ meta_wayland_init (void)
|
|||||||
compositor->launcher = meta_launcher_new ();
|
compositor->launcher = meta_launcher_new ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
|
meta_clutter_init ();
|
||||||
g_error ("Failed to initialize Clutter");
|
|
||||||
|
|
||||||
meta_monitor_manager_initialize ();
|
meta_monitor_manager_initialize ();
|
||||||
monitors = meta_monitor_manager_get ();
|
monitors = meta_monitor_manager_get ();
|
||||||
|
Loading…
Reference in New Issue
Block a user