aboutsummaryrefslogtreecommitdiffstats
path: root/logind.c
diff options
context:
space:
mode:
Diffstat (limited to 'logind.c')
-rw-r--r--logind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/logind.c b/logind.c
index a179684..6b1b77c 100644
--- a/logind.c
+++ b/logind.c
@@ -182,6 +182,9 @@ int logind_init(bool take_control,
logind_session_cb,
NULL);
+ session_suspend = suspend;
+ session_resume = resume;
+
fprintf(stderr, "Opening input devices via logind.\n");
return 0;
}