mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 01:40:29 +01:00
compositor: Support notifying with absolute position too
With evdev input devices that generate absolute positions we need to provide an infrastructure in the compositor for supporting those. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=61997
This commit is contained in:
parent
9d92a07996
commit
23b92d9dc6
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ evdev_flush_motion(struct evdev_device *device, uint32_t time)
|
|||
}
|
||||
if (device->pending_events & EVDEV_ABSOLUTE_MOTION) {
|
||||
transform_absolute(device);
|
||||
notify_motion(master, time,
|
||||
notify_motion_absolute(master, time,
|
||||
wl_fixed_from_int(device->abs.x),
|
||||
wl_fixed_from_int(device->abs.y));
|
||||
device->pending_events &= ~EVDEV_ABSOLUTE_MOTION;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue