[gnome-settings-daemon/gnome-3-24] power: Clarify suspend signal monitoring comment
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-24] power: Clarify suspend signal monitoring comment
- Date: Mon, 21 Aug 2017 17:14:04 +0000 (UTC)
commit 2239b597e0a9e1ae8179c239f96a279dc8e7b867
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 11 17:32:08 2017 +0200
power: Clarify suspend signal monitoring comment
We need to both watch for the signal and setup inhibitors
to be informed about suspend attempts, so move the comment
above both calls.
https://bugzilla.gnome.org/show_bug.cgi?id=786164
plugins/power/gsd-power-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index f13a2c9..98ac83d 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2405,10 +2405,10 @@ on_rr_screen_acquired (GObject *object,
/* ensure the default dpms timeouts are cleared */
backlight_enable (manager);
+ /* Set up a delay inhibitor to be informed about suspend attempts */
g_signal_connect (manager->priv->logind_proxy, "g-signal",
G_CALLBACK (logind_proxy_signal_cb),
manager);
- /* Set up a delay inhibitor to be informed about suspend attempts */
inhibit_suspend (manager);
/* track the active session */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]