kathenas / rpms / mutter

Forked from rpms/mutter 5 years ago
Clone

Blame SOURCES/0001-idle-monitor-Don-t-try-to-auto-start-SessionManager.patch

776610
From 9d88fc8cb7565ce21563c1195c2950f8f050a3fc Mon Sep 17 00:00:00 2001
776610
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
776610
Date: Sun, 29 Apr 2018 20:43:47 +0000
776610
Subject: [PATCH] idle-monitor: Don't try to auto-start SessionManager
776610
776610
The interface is provided by gnome-session and not activatable.
776610
776610
https://gitlab.gnome.org/GNOME/mutter/issues/134
776610
776610
776610
(cherry picked from commit 2319cd9c4014fcc0c2487d7c02e67857f940687e)
776610
---
776610
 src/backends/meta-idle-monitor.c | 3 ++-
776610
 1 file changed, 2 insertions(+), 1 deletion(-)
776610
776610
diff --git a/src/backends/meta-idle-monitor.c b/src/backends/meta-idle-monitor.c
776610
index 7a217f761..76a7ee786 100644
776610
--- a/src/backends/meta-idle-monitor.c
776610
+++ b/src/backends/meta-idle-monitor.c
776610
@@ -246,7 +246,8 @@ meta_idle_monitor_init (MetaIdleMonitor *monitor)
776610
   /* Monitor inhibitors */
776610
   monitor->session_proxy =
776610
     g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
776610
-                                   G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS,
776610
+                                   G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |
776610
+                                   G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
776610
                                    NULL,
776610
                                    "org.gnome.SessionManager",
776610
                                    "/org/gnome/SessionManager",
776610
-- 
776610
2.19.0
776610