diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-10-23 13:44:48 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-10-23 13:44:48 +0200 |
commit | 709cece8834c11b4ed83c9aa9a45385a4fb07740 (patch) | |
tree | bc8fa3e652df45cd8eed1c02c2d334ad940e5387 /src | |
parent | 53f163537c034d102a33471a8ce01565c184312d (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.c | 3 |
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) |