Skip to content

Commit

Permalink
path: if the udev device is never initialized, bail
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
whot committed Jan 9, 2018
1 parent 613ecda commit 932911d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path-seat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 932911d

Please sign in to comment.