diff options
author | Ray Strode <rstrode@redhat.com> | 2014-02-06 15:22:54 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2014-02-06 15:22:54 -0500 |
commit | fea0252399bf9d13e88b27b7296f263732f180fc (patch) | |
tree | a748bb332763c0def18c5d617f1dd3787680b3a4 | |
parent | 1628320b093e3605e91f0aa7183b6859920a0a85 (diff) |
main: detach from keyboard on hide-splash
Currently plymouth stays in control of the terminal
after hide-splash. This is wrong. Once plymouth is
hidden, the terminal should be free to use for other
programs.
This commit makes sure we free up the terminal on
hide splash.
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1062,12 +1062,15 @@ quit_splash (state_t *state) state->boot_splash = NULL; } + ply_device_manager_deactivate_keyboards (state->device_manager); + if (state->local_console_terminal != NULL) { if (!state->should_retain_splash) { ply_trace ("Not retaining splash, so deallocating VT"); ply_terminal_deactivate_vt (state->local_console_terminal); + ply_terminal_close (state->local_console_terminal); } } |