Bug 41618

Summary: Incorrect type for rootX and rootY fields of FakeInput request
Product: XCB Reporter: Alex Plotnick <shrike>
Component: ProtocolAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: major    
Priority: high CC: shrike
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Corrected type of FakeInput rootX & rootY fields

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.