From cf6e8218bab44447c6916dfd924e41de30beb8cb Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 27 Mar 2019 14:33:25 +0100 Subject: more logind console switching --- logind.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'logind.c') 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; } -- cgit