Peter Hutterer <peter.hutte...@who-t.net> writes:

> In WarpPointer calls, we get input in screen coordinates. They must be
> scaled to device coordinates, and then back to screen coordinates for screen
> crossing and root coordinates in events.
>
> The rounding errors introduced (and clipping in core/XI 1.x events) can lead
> to the actual position being different to the requested input coordinates.
> e.g. 200 scales to 199.9999, truncated to 199 in the event.

Would it be useful to do a bit of rounding in these conversions
somewhere?

-- 
keith.pack...@intel.com

Attachment: pgpV47L13C3L3.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to