While tracking down a problem with getting X to work with the VNC
version of Qemu I discovered a problem in the way the Qemu mouse
emulation was handling mouse reset commands.  Turns out, the emulation
code is a little over aggressive in dealing with reset commands for the
mouse.  Since there are commands that enable and disable the mouse the
emulator, quite properly, provides this control.  Unfortunately, the
emulator also interprets either a `reset' or `set to default' command to
also disable the mouse.  This is wrong, neither of these commands are
supposed to affect the enabled status of the mouse so that, when X sends
a `reset', no futher mouse data is sent, making it look like X is hung.

The attached patch fixes this problem by having the `reset' or `set to
default' commands ignore the enable bit.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
[EMAIL PROTECTED]
Ph: 303/440-1368

Attachment: patch-qemu-0804.l
Description: patch-qemu-0804.l

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to