aboutsummaryrefslogtreecommitdiffstats
path: root/logind.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-27 14:33:25 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-27 14:33:25 +0100
commitcf6e8218bab44447c6916dfd924e41de30beb8cb (patch)
tree0efa8d0bc234fe119b1b9141c84398ef039f6f83 /logind.c
parent59ca05ee1a59c5298767cf9563ef7f92ec895936 (diff)
downloadfbida-cf6e8218bab44447c6916dfd924e41de30beb8cb.tar.gz
more logind console switching
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;
}