mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
session/input: add missing pos to touch down events
This commit is contained in:
parent
601f6cf95c
commit
4c72cd4d0b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue