Skip to content

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)

Merge request reports