summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-08 08:39:19 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-08 10:01:52 -0400
commitd43bc13e76ed9ef39c175434f10962b7047935b1 (patch)
tree731f6f84974bbfdd20b356294115396e204385a2
parentc0458aae38cb38263e4af0e2c8f7ba3a6367dd19 (diff)
downloadefl-d43bc13e76ed9ef39c175434f10962b7047935b1.tar.gz
elput: Get touch event slots using slot not seat_slot
@fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/elput/elput_evdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 7f2abd0d7c..1e1254e4a6 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1250,7 +1250,7 @@ _touch_down(struct libinput_device *idevice, struct libinput_event_touch *event)
touch = _evdev_touch_get(dev->seat);
if (!touch) return;
- touch->slot = libinput_event_touch_get_seat_slot(event);
+ touch->slot = libinput_event_touch_get_slot(event);
touch->timestamp = libinput_event_touch_get_time(event);
touch->seat->pointer.x = libinput_event_touch_get_x_transformed(event, dev->ow);
@@ -1294,7 +1294,7 @@ _touch_up(struct libinput_device *idevice, struct libinput_event_touch *event)
if (!touch) return;
touch->points--;
- touch->slot = libinput_event_touch_get_seat_slot(event);
+ touch->slot = libinput_event_touch_get_slot(event);
touch->timestamp = libinput_event_touch_get_time(event);
_touch_motion_send(dev);
@@ -1321,7 +1321,7 @@ _touch_motion(struct libinput_device *idevice, struct libinput_event_touch *even
/* touch->seat->pointer.x, touch->seat->pointer.y, */
/* &touch->seat->pointer.x, &touch->seat->pointer.y); */
- touch->slot = libinput_event_touch_get_seat_slot(event);
+ touch->slot = libinput_event_touch_get_slot(event);
touch->timestamp = libinput_event_touch_get_time(event);
_touch_motion_send(dev);