[mutter/wip/texture-purge-on-nvidia: 30/66] idle-monitor: Don't try to auto-start SessionManager



commit 79c669e298a6817de5425eddb3e6ab8ab2aa79d7
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Apr 29 20:43:47 2018 +0000

    idle-monitor: Don't try to auto-start SessionManager
    
    The interface is provided by gnome-session and not activatable.
    
    https://gitlab.gnome.org/GNOME/mutter/issues/134
    
    (cherry picked from commit 2319cd9c4014fcc0c2487d7c02e67857f940687e)

 src/backends/meta-idle-monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/backends/meta-idle-monitor.c b/src/backends/meta-idle-monitor.c
index 46cf8cd76..91075ff42 100644
--- a/src/backends/meta-idle-monitor.c
+++ b/src/backends/meta-idle-monitor.c
@@ -246,7 +246,8 @@ meta_idle_monitor_init (MetaIdleMonitor *monitor)
   /* Monitor inhibitors */
   monitor->session_proxy =
     g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
-                                   G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS,
+                                   G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |
+                                   G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
                                    NULL,
                                    "org.gnome.SessionManager",
                                    "/org/gnome/SessionManager",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]