forked from enlightenment/efl
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:
parent
8c3f0ff640
commit
b9ecdcef6a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue