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.hutte...@who-t.net>
---
 src/path-seat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
                }
        }
 
-- 
2.13.6

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to