summaryrefslogtreecommitdiff
path: root/src/login/logind.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-21 11:57:48 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-21 11:57:48 +0200
commit409133be63387fc04d927e8aecd2f6ba03d2f143 (patch)
tree53805338e9e71c3344d6f46320c9dbf506612768 /src/login/logind.c
parent68e9f6e6be9e6e14a71788b490ba8cdc3ed7f2b5 (diff)
logind: allow users to override their own suspend/sleep inhibitors
Diffstat (limited to 'src/login/logind.c')
-rw-r--r--src/login/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 14c83551b9..ccd18b9898 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -1407,7 +1407,7 @@ int manager_get_idle_hint(Manager *m, dual_timestamp *t) {
assert(m);
- idle_hint = !manager_is_inhibited(m, INHIBIT_IDLE, INHIBIT_BLOCK, t, false);
+ idle_hint = !manager_is_inhibited(m, INHIBIT_IDLE, INHIBIT_BLOCK, t, false, false, 0);
HASHMAP_FOREACH(s, m->sessions, i) {
dual_timestamp k;