Bug 41618 - Incorrect type for rootX and rootY fields of FakeInput request
Summary: Incorrect type for rootX and rootY fields of FakeInput request
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Protocol (show other bugs)
Version: unspecified
Hardware: All All
: high major
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-09 09:20 UTC by Alex Plotnick
Modified: 2011-10-13 12:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Corrected type of FakeInput rootX & rootY fields (583 bytes, patch)
2011-10-09 09:20 UTC, Alex Plotnick
Details | Splinter Review

Description Alex Plotnick 2011-10-09 09:20:06 UTC
Created attachment 52143 [details] [review]
Corrected type of FakeInput rootX & rootY fields

The FakeInput request defined by the XTEST extension has two fields, rootX and rootY, that are used to indicate relative or absolute pointer coordinates for fake motion events. These fields are of type INT16, not CARD16. (They must be signed to allow for negative relative motions and to align with the root-x and root-y fields of MotionNotify events.)
Comment 1 Peter Harris 2011-10-13 12:10:35 UTC
Pushed as f3ae971edce37ad96ef0b8a6059c1f853e88fcf3

Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.