summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2014-03-24 19:47:19 +0100
committerPeter Maydell2014-03-24 19:47:19 +0100
commite12b2a4fab75c0771ed21ac6ce06120cbb27b68e (patch)
treec143609daf285efeb5dec2ff3d8ee511d6ea8311
parentbackends/baum.c: Fix compilation when SDL is not available. (diff)
parentspice: input: Fix absolute mouse y coordinates (diff)
downloadqemu-e12b2a4fab75c0771ed21ac6ce06120cbb27b68e.tar.gz
qemu-e12b2a4fab75c0771ed21ac6ce06120cbb27b68e.tar.xz
qemu-e12b2a4fab75c0771ed21ac6ce06120cbb27b68e.zip
Merge remote-tracking branch 'remotes/spice/tags/pull-spice-5' into staging
spice: input: Fix absolute mouse y coordinates # gpg: Signature made Mon 24 Mar 2014 07:44:11 GMT using RSA key ID D3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" * remotes/spice/tags/pull-spice-5: spice: input: Fix absolute mouse y coordinates Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-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();
}