diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-04-16 12:30:24 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-04-16 12:30:24 +0200 |
commit | 2d62ce153a386d8c67dfd0d965d746a754ef4129 (patch) | |
tree | c7ce4c59eceb3b6eb179ae8075597ac49143dde7 /fbcon.c | |
parent | 5737cf1d24c868a55eafc59a51c000dc7f4f63f6 (diff) | |
download | fbida-2d62ce153a386d8c67dfd0d965d746a754ef4129.tar.gz |
logind tweaks
Diffstat (limited to 'fbcon.c')
-rw-r--r-- | fbcon.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -611,12 +611,12 @@ int main(int argc, char *argv[]) exit(1); exit_signals_init(); signal(SIGTSTP,SIG_IGN); -#if 0 - if (console_switch_init(console_switch_suspend, - console_switch_resume) < 0) { - fprintf(stderr, "NOTICE: No vt switching available on terminal.\n"); + if (!logind) { + if (console_switch_init(console_switch_suspend, + console_switch_resume) < 0) { + fprintf(stderr, "NOTICE: No vt switching available on terminal.\n"); + } } -#endif active = true; /* init cairo */ |