[gnome-settings-daemon/benzea/minor-fix-collection: 3/3] power: Clarify reason for lid inhibition
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/minor-fix-collection: 3/3] power: Clarify reason for lid inhibition
- Date: Fri, 22 Mar 2019 10:55:08 +0000 (UTC)
commit c0504328301e4bed43750672d1aa302afcaf2212
Author: Benjamin Berg <bberg redhat com>
Date: Fri Mar 22 11:22:20 2019 +0100
power: Clarify reason for lid inhibition
The reason was "Multiple displays attached" which is not really
accurate, as we are looking for an external screen rather than multiple
screens. Also, we always grab the inhibitor after a change and then
release it again if there is no external monitor after a short period of
time.
Change it to "External monitor attached or configuration changed
recently" which should clarify this.
Fixes: #353
plugins/power/gsd-power-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index f965f6f3..240181fb 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2233,7 +2233,7 @@ inhibit_lid_switch (GsdPowerManager *manager)
params = g_variant_new ("(ssss)",
"handle-lid-switch",
g_get_user_name (),
- "Multiple displays attached",
+ "External monitor attached or configuration changed recently",
"block");
g_dbus_proxy_call_with_unix_fd_list (manager->priv->logind_proxy,
"Inhibit",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]