aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-03-21 14:28:49 -0400
committerGerd Hoffmann <kraxel@redhat.com>2014-03-24 08:41:21 +0100
commitb2c494c3a473adf654144c845e04bebffb05dee0 (patch)
treeddfc21aa80d535b1ce1b64f617b44f4beb58cf18 /ui
parent3a87f8b6859e6221b827ab4737779dddb37553ec (diff)
spice: input: Fix absolute mouse y coordinates
Current tablet + spice is unusable. Regressed with the UI input rework. Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-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();
}