aboutsummaryrefslogtreecommitdiffstats
path: root/fbcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbcon.c')
-rw-r--r--fbcon.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fbcon.c b/fbcon.c
index 2f0f2bc..e9f66bd 100644
--- a/fbcon.c
+++ b/fbcon.c
@@ -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__);
}
/* ---------------------------------------------------------------------- */