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 <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede 2018-07-03 08:44:33 +02:00 committed by Ray Strode
parent b527834c88
commit 129b4a5004

View file

@ -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;
}
}