[Xcb] Need to get pointer coordinates (with xcb-xinput)

Barton C Massey bart at cs.pdx.edu
Wed Mar 18 10:04:27 PDT 2009

In message <49C0FE60.5030909 at opentext.com> you wrote:
> The basic problem is that query_device_state returns a list of
> "input_state". Trouble is, "input_state" can by any of "key_state",
> "button_state", or "valuator_state", and they're all different sizes. So
> "input_state" can't just be the obvious union, and xcb can't
> automatically generate an easy iterator to use.

We could make XCB generate code that would be helpful; we
just haven't yet because we haven't figured out quite what
it should be.  Patches and ideas greatly appreciated.


More information about the Xcb mailing list