XInput2: getting window-relative coordinates?

Florian Echtler floe at
Fri Apr 17 06:27:29 PDT 2009

Hello everyone,

after a bit more fiddling, I now have MPX and XI2 up and running. My
software is receiving the new XI2 input events fine; however, I've
noticed that the valuators are always in screen coordinates. Is there a
way to get them in window coordinates, or do I need to use XGetGeometry
to convert them?

Thanks, Yours, Florian
0666 - Filemode of the Beast

More information about the xorg mailing list