]> git.ipfire.org Git - thirdparty/plymouth.git/commit
device-manager: Actually fall back to reading from tty if no xkb layout specified
authorRay Strode <rstrode@redhat.com>
Wed, 30 Nov 2022 14:51:17 +0000 (09:51 -0500)
committerRay Strode <rstrode@redhat.com>
Thu, 1 Dec 2022 18:40:30 +0000 (13:40 -0500)
commit56a5e00b17921aa47acf0e3dc442031d7dc4efa1
tree4a907d02e8e2d7b2c825864a05f8ae6594f55f3e
parente8b301a66df2e5b713d9379997249e66d1f3cda8
device-manager: Actually fall back to reading from tty if no xkb layout specified

Commit 7fcfcdf2d63025151a160f7948ee7406f0f16843 tried to fall back to
reading from a tty if no xkb layout was specified, but neglected to
actually check if no xkb layout was specified and force fall back to
reading from a tty in that case.

This commit changes device manager to actually disable reading from
/dev/input if the user doesn't specify a layout to use in vconsole.conf.

Closes https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/199
src/libply-splash-core/ply-device-manager.c