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 <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-06-24 10:53:04 +02:00
parent 325412bc15
commit 2d84eaad38

View File

@ -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,