mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 07:48:03 +02:00
Try to open the frame buffer every time we set graphics mode
It may fail initially and work later
This commit is contained in:
parent
5123832d46
commit
5a85be71ea
1 changed files with 2 additions and 1 deletions
|
|
@ -373,7 +373,8 @@ ply_window_set_mode (ply_window_t *window,
|
|||
break;
|
||||
|
||||
case PLY_WINDOW_MODE_GRAPHICS:
|
||||
if (!ply_frame_buffer_device_is_open (window->frame_buffer))
|
||||
if (!ply_frame_buffer_device_is_open (window->frame_buffer)
|
||||
&& !ply_frame_buffer_open (window->frame_buffer))
|
||||
return false;
|
||||
|
||||
if (ioctl (window->tty_fd, KDSETMODE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue