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: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Daniel Stone <daniel.stone@collabora.com>
parent
74bdb35c
Loading
Loading
Pipeline
#371883
passed
with stages
in
2 minutes and 6 seconds
Loading
Please register or sign in to comment