[mutter] clutter/evdev: Fix absolute pointer motion events
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/evdev: Fix absolute pointer motion events
- Date: Tue, 30 Aug 2016 07:51:39 +0000 (UTC)
commit 01edf10e825b8d13b56ddb553919287a3ded1707
Author: Jonas Ådahl <jadahl gmail com>
Date: Mon Aug 29 23:10:17 2016 +0800
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
clutter/clutter/evdev/clutter-seat-evdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/evdev/clutter-seat-evdev.c b/clutter/clutter/evdev/clutter-seat-evdev.c
index 5ef3ae4..f5ae1dd 100644
--- a/clutter/clutter/evdev/clutter-seat-evdev.c
+++ b/clutter/clutter/evdev/clutter-seat-evdev.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]