projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325412b
)
terminal: redraw on wake-up
author
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:53:04 +0000
(10:53 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:53:04 +0000
(10:53 +0200)
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>
src/terminal.c
patch
|
blob
|
history
diff --git
a/src/terminal.c
b/src/terminal.c
index
0773d5a
..
e7bb3ae
100644
(file)
--- 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,