mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 07:18:01 +02:00
two-step: fix unlock screen
The previous commit introduced a bug where the unlock screen won't get shown if it's requested within the first 5 seconds of startup. This commit fixes that by forcing a redraw if the state switches from NORMAL.
This commit is contained in:
parent
17976ac538
commit
540ae58fe0
1 changed files with 2 additions and 1 deletions
|
|
@ -925,7 +925,8 @@ on_draw (view_t *view,
|
|||
|
||||
now = ply_get_timestamp ();
|
||||
|
||||
if (now - plugin->start_time < plugin->startup_delay)
|
||||
if ((now - plugin->start_time < plugin->startup_delay) &&
|
||||
plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
|
||||
return;
|
||||
|
||||
if (view->is_blank)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue