diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-27 15:40:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-27 15:40:54 +0100 |
commit | 89dae63a0d2a084ff3f3efc933b79fb8dd715b75 (patch) | |
tree | c4f1e4ee68cb7f3dabd171b10b0929e16fc527ed /fbcon.c | |
parent | cf6e8218bab44447c6916dfd924e41de30beb8cb (diff) | |
download | fbida-89dae63a0d2a084ff3f3efc933b79fb8dd715b75.tar.gz |
even more logind console switching
Diffstat (limited to 'fbcon.c')
-rw-r--r-- | fbcon.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -179,21 +179,25 @@ static void cleanup_and_exit(int code) static void console_switch_suspend(void) { + fprintf(stderr, "%s: start ...\n", __func__); + active = false; gfx->suspend_display(); libinput_suspend(kbd); logind_release_control(); - active = false; + fprintf(stderr, "%s: ... done\n", __func__); } static void console_switch_resume(void) { - active = true; + fprintf(stderr, "%s: start ...\n", __func__); logind_take_control(); libinput_resume(kbd); gfx->resume_display(); state1.clear++; state2.clear++; dirty++; + active = true; + fprintf(stderr, "%s: ... done\n", __func__); } /* ---------------------------------------------------------------------- */ |