[Bug 30057] mouse capture broken in xserver 1.11 (ubuntu 12.04)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 14 22:17:27 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30057

--- Comment #37 from rocko <rockorequin at hotmail.com> 2012-03-14 22:17:27 CDT ---
XI2 provides the raw mouse data as XGenericEventCookie's data.raw_values, while
it provides the valuators as data.valuators.values (see the patch in #31, which
fixes the 'crazy mouse' problem).

The raw_values are always relative but it appears that XI2 used to return raw
values until v2.1 where it was changed to return the absolute values in
valuators.value.

If what Peter H says is correct this is a bugfix rather than a regression,
meaning it will never be changed back. To quote:

"... we actually have to provide absolute valuators since XI doesn't allow us
to
report relative values in valuators. This is basically the reason for
RawEvents"

Based on the git logs in libxi, Peter H looks like he should know what he's
talking about.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list