mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 20:08:17 +02:00
[drm] don't run on non-virtual terminals
We only need support DRM on virtual terminals, those that are not such as serial consoles, can be trivially skipped.
This commit is contained in:
parent
a067e97f16
commit
e54373efe4
1 changed files with 7 additions and 0 deletions
|
|
@ -502,6 +502,13 @@ open_device (ply_renderer_backend_t *backend)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!ply_terminal_is_vt (backend->terminal))
|
||||
{
|
||||
ply_trace ("terminal is not a VT");
|
||||
ply_terminal_close (backend->terminal);
|
||||
return false;
|
||||
}
|
||||
|
||||
ply_terminal_watch_for_active_vt_change (backend->terminal,
|
||||
(ply_terminal_active_vt_changed_handler_t)
|
||||
on_active_vt_changed,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue