diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-11-14 11:57:24 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-11-14 11:57:24 +0100 |
commit | e2c8bf82c18067595e0802cad71caa63f16d469e (patch) | |
tree | a0b409508a702733f80371d5840bbce77194aa48 /src/plugins/screensaver | |
parent | 5dcceebfc0bcf8bd705e17e352330f2a9c74e79c (diff) | |
download | totem-e2c8bf82c18067595e0802cad71caa63f16d469e.tar.gz |
screensaver: Don't autostart gnome-screensaver when running in non-GNOME
When running in GNOME, we'd monitor the state of the screensaver. That
doesn't work in non-GNOME desktops, as implementors of
org.gnome.ScreenSaver will get started, such as gnome-screensaver and
cinnamon-screensaver, neither of which offer the API we expect anyway.
See https://bugs.launchpad.net/ubuntu/+source/cinnamon-session/+bug/1803078
Diffstat (limited to 'src/plugins/screensaver')
-rw-r--r-- | src/plugins/screensaver/totem-screensaver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/screensaver/totem-screensaver.c b/src/plugins/screensaver/totem-screensaver.c index 2c4bf158e..ab10c8ebd 100644 --- a/src/plugins/screensaver/totem-screensaver.c +++ b/src/plugins/screensaver/totem-screensaver.c @@ -177,7 +177,7 @@ impl_activate (PeasActivatable *plugin) pi->priv->cancellable = g_cancellable_new (); g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION, - G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES | G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START, NULL, "org.gnome.ScreenSaver", "/org/gnome/ScreenSaver", |