mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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:
parent
335764e815
commit
01edf10e82
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user