[PATCH] dix: work around scaling issues during WarpPointer (#53037)
keithp at keithp.com
Tue Aug 14 17:19:45 PDT 2012
Peter Hutterer <peter.hutterer at 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
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel