1
0
Fork 0

clutter/evdev: Fix absolute pointer motion events

Absolute pointer events used the X coordinate as both X and Y. This
caused the pointer cursor to be moved incorrectly for absolute pointer
devices, commonly used in virtual machines.

https://bugzilla.gnome.org/show_bug.cgi?id=770557
This commit is contained in:
Jonas Ådahl 2016-08-29 23:10:17 +08:00
parent 335764e815
commit 01edf10e82

View file

@ -421,7 +421,7 @@ void clutter_seat_evdev_notify_absolute_motion (ClutterSeatEvdev *seat,
{
ClutterEvent *event;
event = new_absolute_motion_event (seat, input_device, time_us, x, x, axes);
event = new_absolute_motion_event (seat, input_device, time_us, x, y, axes);
queue_event (event);
}