mirror of
https://github.com/elementary/gala.git
synced 2024-11-25 03:06:14 +01:00
Only init on wayland
This commit is contained in:
parent
95ae6cf596
commit
ff6e02765c
@ -31,9 +31,6 @@ public class Gala.DaemonManager : Object {
|
||||
daemon_client = new Meta.WaylandClient (subprocess_launcher);
|
||||
string[] args = {"gala-daemon"};
|
||||
daemon_client.spawnv (display, args);
|
||||
} catch (IOError.NOT_SUPPORTED e) {
|
||||
//Not running under wayland, the daemon is autostarted
|
||||
return;
|
||||
} catch (Error e) {
|
||||
warning ("Failed to create dock client: %s", e.message);
|
||||
return;
|
||||
|
@ -346,7 +346,9 @@ namespace Gala {
|
||||
|
||||
plugin_manager.load_waiting_plugins ();
|
||||
|
||||
daemon_manager.init_wayland ();
|
||||
if (Meta.Util.is_wayland_compositor ()) {
|
||||
daemon_manager.init_wayland ();
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user