[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.0] spice: input: Fix absolute mouse y coordina
From: |
Cole Robinson |
Subject: |
[Qemu-devel] [PATCH for-2.0] spice: input: Fix absolute mouse y coordinates |
Date: |
Fri, 21 Mar 2014 14:28:49 -0400 |
Current tablet + spice is unusable. Regressed with the UI input rework.
Signed-off-by: Cole Robinson <address@hidden>
---
ui/spice-input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/spice-input.c b/ui/spice-input.c
index 6dab23b..c342e0d 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -176,7 +176,7 @@ static void tablet_position(SpiceTabletInstance* sin, int
x, int y,
spice_update_buttons(pointer, 0, buttons_state);
qemu_input_queue_abs(NULL, INPUT_AXIS_X, x, pointer->width);
- qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->width);
+ qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->height);
qemu_input_event_sync();
}
--
1.8.5.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH for-2.0] spice: input: Fix absolute mouse y coordinates,
Cole Robinson <=