qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Improper mouse reset handling


From: Dugger, Donald D
Subject: [Qemu-devel] Improper mouse reset handling
Date: Thu, 4 Aug 2005 16:21:26 -0700

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
address@hidden
Ph: 303/440-1368

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]