XInput2: getting window-relative coordinates?

Simon Thum simon.thum at gmx.de
Sun Apr 19 04:54:13 PDT 2009


Peter Hutterer wrote:
> relative to the window's origin but in the screen coordinate system.
> 
> so if the window is on  100/100, a device on root 101/101 has event 1/1,
> even if the valuator state is e.g. 7202/2381 (valuators are in device
> coordinates).
Thanks for the clarification.

Cheers,

Simon



More information about the xorg mailing list