From b94ed5772eb31e8fad4b823351e8152839bf722a Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 10 Mar 2008 19:34:27 +0000 Subject: Let the USB tablet reach the far bottom and right pixels (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index baa9891..5b9e4ce 100644 --- a/vl.c +++ b/vl.c @@ -588,7 +588,7 @@ void kbd_mouse_event(int dx, int dy, int dz, int buttons_state) if (qemu_put_mouse_event_current->qemu_put_mouse_event_absolute) width = 0x7fff; else - width = graphic_width; + width = graphic_width - 1; mouse_event(mouse_event_opaque, width - dy, dx, dz, buttons_state); } else -- cgit v1.1