From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRzaV-00014h-C2 for qemu-devel@nongnu.org; Mon, 24 Mar 2014 03:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRzaN-0001SJ-QS for qemu-devel@nongnu.org; Mon, 24 Mar 2014 03:46:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRzaN-0001S5-JT for qemu-devel@nongnu.org; Mon, 24 Mar 2014 03:46:19 -0400 From: Gerd Hoffmann Date: Mon, 24 Mar 2014 08:46:13 +0100 Message-Id: <1395647173-13567-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1395647173-13567-1-git-send-email-kraxel@redhat.com> References: <1395647173-13567-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 1/1] spice: input: Fix absolute mouse y coordinates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori , Cole Robinson From: Cole Robinson Current tablet + spice is unusable. Regressed with the UI input rework. Signed-off-by: Cole Robinson Signed-off-by: Gerd Hoffmann --- 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.3.1