[Spice-commits] Changes to 'mouse.1'
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Fri Oct 8 03:22:19 PDT 2010
New branch 'mouse.1' available with the following commits:
commit bf79d13852c6105305837fd3fa94c68c7b0e99ed
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri Oct 8 12:18:24 2010 +0200
wacom tablet: activate event handlers.
Add qemu_activate_mouse_event_handler() calls to the usb wavom tablet so
it actually receives events. Also make sure we only remove the handler
if we registered it before.
commit fa36563b22deffeb43456eab5cde4229a0bde53c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri Oct 8 11:55:27 2010 +0200
vmmouse: adapt to mouse handler changes.
This patch updates the vmmouse handler registration and activation.
Old behavior:
vmmouse_read_id, vmmouse_request_relative and vmmouse_request_absolute
unregister the handler and re-register it.
New behavior:
vmmouse_request_relative and vmmouse_request_absolute will unregister
the handler in case the mode did change. Then register and active the
handler with current mode if needed.
Note that the old code never ever *activates* the handler, so the
vmmouse doesn't receive events. This trips up Fedora 14 for example:
Boot a default install without usb tablet, watch the X-Server activating
the vmmouse then, enjoy a non-functional mouse.
More information about the Spice-commits
mailing list