diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-01-05 14:30:21 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-01-09 13:47:42 +1000 |
commit | 932911d22932c61b682e96f4b469fbe547abe8a9 (patch) | |
tree | bd24060b3d5b78c1af26e7b87d900a7ce4105b91 | |
parent | 613ecda1cb085da9fdd126d2e4555718d83322a2 (diff) |
path: if the udev device is never initialized, bail
2000ms should be enough, if that fails let's bail completely.
Related to: https://bugs.freedesktop.org/show_bug.cgi?id=104278
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/path-seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-seat.c b/src/path-seat.c index c162dc64..4322b920 100644 --- a/src/path-seat.c +++ b/src/path-seat.c @@ -316,7 +316,7 @@ udev_device_from_devnode(struct libinput *libinput, log_bug_libinput(libinput, "udev device never initialized (%s)\n", devnode); - break; + return NULL; } } |