aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/spice-input.c')
-rw-r--r--ui/spice-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-input.c b/ui/spice-input.c
index 6dab23b75c..c342e0dcfb 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();
}