spice: input: Fix absolute mouse y coordinates

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (GNU/Linux)
 
 iQIcBAABAgAGBQJTL+JLAAoJEEy22O7T6HE4pDIP+wcuP2EbiDq+V+McG9/mFgIC
 akOJfHYlp7rUqlOkyQHchUk29tvtMtGJwkvp8i4BnZn/O61J+ReW6104jrbTL0Ea
 P/O0scVukOQPCASw1rB6APGueDB3yNBdjvX+ohCJX62kIh6Dn3I5PubgXMiWei4k
 oeNdm8x6RNbSrNkSGMwc3upP648bmySaB5vKW9QHHBh+QNNBlXcBxjTB2SUUAnSq
 /Akv1Zf4DUJ+AnLsPq76e66nKAos4zV9iXXRAVYJhi/av286WYfIRm2bDsyCWgsc
 vD39zs8oX41uOtEgpoNFLpw/0+z6kC3RP/L4ByZEIKtCdA8j6sIJwY5w2Rm/hk0G
 sUu1QPaNfyasYH8Vwi7f7RXY6mEp+YuRy58M7hc9sBrlzjKzQheN4rJkMC4SlYFK
 vdrDbatUvMrDFRDvmLF1Us25/X107fyU0hMrBngW1IvZj635xHbQHEJaakaQ6UzP
 RM6jvNdzKui+JOuKda7EhYXoh6l68v3EeUXomLTD4rJQtugi9bShMZuwjeBSrPFo
 VOydm3J4Qf65aix+DG64KSO6ion3V445fbY7kF1xf/ODy7jnq05x9tjAbqWVFxur
 9JKCQHOYPkKwviSZz5NQX6EbrQen4sBa+usgSeKsQaG6fsadwrKIFTyPUd+8Pm0R
 YeGjDNE6qe6O2bX38ZFv
 =/peF
 -----END PGP SIGNATURE-----

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>
This commit is contained in:
Peter Maydell 2014-03-24 18:47:19 +00:00
commit e12b2a4fab

View File

@ -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();
}