Skip to content
Commit eb34f827 authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone
Browse files

input: Handle correctly failure to compile XKB keymaps



And ultimately, fail to start when there are no input devices on the
system. Patchs adds consistency to touch/pointer initialization to
return -1 in case same thing happens.

Further more, when the device is not created we can't assume to retrieve
a valid one from a libinput_device so guard against it. This takes care of
hot-plugging situations when we couldn't create the (keyboard) device,
or when removing it.

Fixes: #117, #402, #485

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
Suggested-by: default avatarDaniel Stone <daniel.stone@collabora.com>
parent 74bdb35c
Loading
Loading
Loading
Pipeline #371883 passed with stages
in 2 minutes and 6 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment