From: Ray Strode Date: Thu, 8 Oct 2009 19:22:27 +0000 (-0400) Subject: [main] Disconnect from tty when hiding splash X-Git-Tag: 0.8.0~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=288c110fa1e35b0bf32f0e3480cf677e83a5bc23;p=thirdparty%2Fplymouth.git [main] Disconnect from tty when hiding splash We were still processing keystrokes when the splash screen was hidden. This caused problems because the tty is used by other programs at that time. --- diff --git a/src/main.c b/src/main.c index 31f2b1e2..6f8c6bd2 100644 --- a/src/main.c +++ b/src/main.c @@ -549,6 +549,8 @@ remove_displays_and_keyboard (state_t *state) node = next_node; } + ply_keyboard_stop_watching_for_input (state->keyboard); + ply_keyboard_free (state->keyboard); state->keyboard = NULL; }