[PATCH] randr: Fix logic in RRPointerToNearestCrtc

Keith Packard keithp at keithp.com
Wed Jul 30 14:38:53 PDT 2014

walter harms <wharms at bfs.de> writes:

> distance is normally defined with sqrt(dx*dx+dy*dy)
> perhaps you can use dx*dx instead of abs() to avoid
> confusion about dist ?

That introduces all kinds of range adventures; not sure it's worth the

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140730/086649bd/attachment.sig>

More information about the xorg-devel mailing list