summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_input.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-25 12:54:25 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-25 12:57:27 -0400
commitb9ecdcef6acb19ff2cc63ba1238bafd456156dc3 (patch)
tree9a6e9543fdb4356b33a367bbd07a99115ce039f3 /src/lib/elput/elput_input.c
parent8c3f0ff640371f6e46d4dd73681a654af2e5bce9 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index c7f55b1590..e7cd92d147 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -115,7 +115,7 @@ _udev_seat_get(Elput_Manager *em, struct libinput_device *device)
115 const char *name; 115 const char *name;
116 116
117 lseat = libinput_device_get_seat(device); 117 lseat = libinput_device_get_seat(device);
118 name = libinput_seat_get_logical_name(lseat); 118 name = libinput_seat_get_physical_name(lseat);
119 119
120 return _udev_seat_named_get(em, name); 120 return _udev_seat_named_get(em, name);
121} 121}