Skip to content

Commit

Permalink
session/input: add missing pos to touch down events
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 23, 2024
1 parent 601f6cf commit 4c72cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ void Aquamarine::CSession::handleLibinputEvent(libinput_event* e) {
hlDevice->touch->events.down.emit(ITouch::SDownEvent{
.timeMs = (uint32_t)(libinput_event_touch_get_time_usec(te) / 1000),
.touchID = libinput_event_touch_get_seat_slot(te),
.pos = {libinput_event_touch_get_x_transformed(te, 1), libinput_event_touch_get_y_transformed(te, 1)},
});
break;
}
Expand Down

0 comments on commit 4c72cd4

Please sign in to comment.