summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput/elput_evdev.c')
-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)
1250 touch = _evdev_touch_get(dev->seat); 1250 touch = _evdev_touch_get(dev->seat);
1251 if (!touch) return; 1251 if (!touch) return;
1252 1252
1253 touch->slot = libinput_event_touch_get_seat_slot(event); 1253 touch->slot = libinput_event_touch_get_slot(event);
1254 touch->timestamp = libinput_event_touch_get_time(event); 1254 touch->timestamp = libinput_event_touch_get_time(event);
1255 1255
1256 touch->seat->pointer.x = libinput_event_touch_get_x_transformed(event, dev->ow); 1256 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)
1294 if (!touch) return; 1294 if (!touch) return;
1295 1295
1296 touch->points--; 1296 touch->points--;
1297 touch->slot = libinput_event_touch_get_seat_slot(event); 1297 touch->slot = libinput_event_touch_get_slot(event);
1298 touch->timestamp = libinput_event_touch_get_time(event); 1298 touch->timestamp = libinput_event_touch_get_time(event);
1299 1299
1300 _touch_motion_send(dev); 1300 _touch_motion_send(dev);
@@ -1321,7 +1321,7 @@ _touch_motion(struct libinput_device *idevice, struct libinput_event_touch *even
1321 /* touch->seat->pointer.x, touch->seat->pointer.y, */ 1321 /* touch->seat->pointer.x, touch->seat->pointer.y, */
1322 /* &touch->seat->pointer.x, &touch->seat->pointer.y); */ 1322 /* &touch->seat->pointer.x, &touch->seat->pointer.y); */
1323 1323
1324 touch->slot = libinput_event_touch_get_seat_slot(event); 1324 touch->slot = libinput_event_touch_get_slot(event);
1325 touch->timestamp = libinput_event_touch_get_time(event); 1325 touch->timestamp = libinput_event_touch_get_time(event);
1326 1326
1327 _touch_motion_send(dev); 1327 _touch_motion_send(dev);