summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-23 13:44:48 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2013-10-23 13:44:48 +0200
commit709cece8834c11b4ed83c9aa9a45385a4fb07740 (patch)
treebc8fa3e652df45cd8eed1c02c2d334ad940e5387 /src
parent53f163537c034d102a33471a8ce01565c184312d (diff)
terminal: redraw on display-refresh
If we get a display-refresh event from the session layer, we must redraw the screen to avoid staying blank. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/kmscon_terminal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kmscon_terminal.c b/src/kmscon_terminal.c
index 482d50f..3a1f8f0 100644
--- a/src/kmscon_terminal.c
+++ b/src/kmscon_terminal.c
@@ -533,6 +533,9 @@ static int session_event(struct kmscon_session *session,
case KMSCON_SESSION_DISPLAY_GONE:
rm_display(term, ev->disp);
break;
+ case KMSCON_SESSION_DISPLAY_REFRESH:
+ redraw_all_test(term);
+ break;
case KMSCON_SESSION_ACTIVATE:
term->awake = true;
if (!term->opened)