From: Hans de Goede Date: Tue, 3 Jul 2018 06:44:33 +0000 (+0200) Subject: main: Show details when ESC is pressed during splash_delay X-Git-Tag: 0.9.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=129b4a50;p=thirdparty%2Fplymouth.git main: Show details when ESC is pressed during splash_delay Start listening for keypresses on the first show_splash() call, so that pressing ESC while we're delaying show the non-details splash will show the details splash. Signed-off-by: Hans de Goede --- diff --git a/src/main.c b/src/main.c index ed239686..d7f192f2 100644 --- a/src/main.c +++ b/src/main.c @@ -361,6 +361,8 @@ show_detailed_splash (state_t *state) { ply_boot_splash_t *splash; + cancel_pending_delayed_show (state); + if (state->boot_splash != NULL) return; @@ -1001,6 +1003,8 @@ show_splash (state_t *state) (ply_event_loop_timeout_handler_t) show_splash, state); + /* Listen for ESC to show details */ + ply_device_manager_activate_keyboards (state->device_manager); return; } }