[gnome-settings-daemon/benzea/minor-fix-collection: 51/51] 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: 51/51] power: Clarify reason for lid inhibition
- Date: Mon, 25 Mar 2019 10:23:59 +0000 (UTC)
commit 1b36e18d3081e4a1726e695e738ecefbff9b6965
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 dd34885d..bf90792a 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2231,7 +2231,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->logind_proxy,
"Inhibit",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]