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:
parent
325412bc15
commit
2d84eaad38
@ -244,6 +244,8 @@ static void video_event(struct uterm_video *video,
|
|||||||
|
|
||||||
if (ev->action == UTERM_GONE)
|
if (ev->action == UTERM_GONE)
|
||||||
rm_display(term, ev->display);
|
rm_display(term, ev->display);
|
||||||
|
else if (ev->action == UTERM_WAKE_UP)
|
||||||
|
schedule_redraw(term);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void input_event(struct uterm_input *input,
|
static void input_event(struct uterm_input *input,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user