Blame 0002-spice-input-Fix-absolute-mouse-y-coordinates.patch

75f0c8
From 60fd6c348917c108fccc50bb5a3e8805275eed64 Mon Sep 17 00:00:00 2001
75f0c8
From: Cole Robinson <crobinso@redhat.com>
75f0c8
Date: Fri, 21 Mar 2014 14:27:05 -0400
75f0c8
Subject: [PATCH] spice: input: Fix absolute mouse y coordinates
75f0c8
75f0c8
Current tablet + spice is unusable. Regressed with the UI input rework.
75f0c8
75f0c8
(cherry picked from commit 2445826353f0c65fd9920260f682fb725a36b399)
75f0c8
---
75f0c8
 ui/spice-input.c | 2 +-
75f0c8
 1 file changed, 1 insertion(+), 1 deletion(-)
75f0c8
75f0c8
diff --git a/ui/spice-input.c b/ui/spice-input.c
75f0c8
index 6dab23b..c342e0d 100644
75f0c8
--- a/ui/spice-input.c
75f0c8
+++ b/ui/spice-input.c
75f0c8
@@ -176,7 +176,7 @@ static void tablet_position(SpiceTabletInstance* sin, int x, int y,
75f0c8
 
75f0c8
     spice_update_buttons(pointer, 0, buttons_state);
75f0c8
     qemu_input_queue_abs(NULL, INPUT_AXIS_X, x, pointer->width);
75f0c8
-    qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->width);
75f0c8
+    qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->height);
75f0c8
     qemu_input_event_sync();
75f0c8
 }
75f0c8