mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-06-09 21:28:24 +02:00
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:
parent
b527834c88
commit
129b4a5004
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue