]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-device-manager: Handle XKB failing to load more gracefully
authorRay Strode <rstrode@redhat.com>
Wed, 27 Dec 2023 21:36:52 +0000 (16:36 -0500)
committerRay Strode <halfline@gmail.com>
Wed, 27 Dec 2023 21:39:33 +0000 (21:39 +0000)
commit5b471eb7e335815887db169536864b000154f9c8
tree3d085ffac4807ee75fee71818abb16174bbe6104
parent9bfd229131991d1d7b678d375ef9d831a909c93e
ply-device-manager: Handle XKB failing to load more gracefully

Right now we always assume `xkb_context_new` will succeed.

This isn't necessarily true. If it fails, we shouldn't crash.

This commit fixes that.
src/libply-splash-core/ply-device-manager.c