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:
Rob Bradford 2013-03-27 15:59:43 +00:00 committed by Jonas Ådahl
parent 9d92a07996
commit 23b92d9dc6

View file

@ -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;