Don't run past the last element in the list
If there is no (other) libinput device in the current device list, we'd eventually end up with next == NULL, causing a segfault.
Fixes #60 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If there is no (other) libinput device in the current device list, we'd eventually end up with next == NULL, causing a segfault.
Fixes #60 (closed)