[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Fix handle lid switch with loginD (Bug 11160)
noreply at xfce.org
noreply at xfce.org
Tue Sep 16 18:10:13 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit f62e82256cb2a45b4f044b7d603017952f7dd63e
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Sep 15 14:35:00 2014 +0300
Fix handle lid switch with loginD (Bug 11160)
The xfconf settings logic for logind interactions were inverted
in commit: 03193df6cad651841e8d9960335b4a3bf13afdad
However the handle lid switch in the xfpm_manager_lid_changed_cb
also needs to be inverted. This patch fixes it. Patch submitted
by Simon P.
---
src/xfpm-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xfpm-manager.c b/src/xfpm-manager.c
index d6c533c..9549b66 100644
--- a/src/xfpm-manager.c
+++ b/src/xfpm-manager.c
@@ -335,7 +335,7 @@ xfpm_manager_lid_changed_cb (XfpmPower *power, gboolean lid_is_closed, XfpmManag
LOGIND_HANDLE_LID_SWITCH, &logind_handle_lid_switch,
NULL);
- if (!logind_handle_lid_switch)
+ if (logind_handle_lid_switch)
return;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list