From 2d84eaad3815201530eef857ef73b56611fbaa3b Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 24 Jun 2012 10:53:04 +0200 Subject: [PATCH] terminal: redraw on wake-up The drm video backend does automatically blit the framebuffer on wake-up, however, the fbdev backend does not. Hence, we automatically redraw on wake-up in the terminal backend now. Signed-off-by: David Herrmann --- src/terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/terminal.c b/src/terminal.c index 0773d5a..e7bb3ae 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -244,6 +244,8 @@ static void video_event(struct uterm_video *video, if (ev->action == UTERM_GONE) rm_display(term, ev->display); + else if (ev->action == UTERM_WAKE_UP) + schedule_redraw(term); } static void input_event(struct uterm_input *input,