elput: use physical name of seat when finding existing seats

"seat0" is used as the default internal name, and this is a physical name.
using the logical name causes mismatches and allows devices to function
in unintended ways
This commit is contained in:
Mike Blumenkrantz 2016-05-25 12:54:25 -04:00
parent 8c3f0ff640
commit b9ecdcef6a
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ _udev_seat_get(Elput_Manager *em, struct libinput_device *device)
const char *name;
lseat = libinput_device_get_seat(device);
name = libinput_seat_get_logical_name(lseat);
name = libinput_seat_get_physical_name(lseat);
return _udev_seat_named_get(em, name);
}