[PATCH] randr: Fix logic in RRPointerToNearestCrtc

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


David Ung <davidu at nvidia.com> writes:

> RRPointerToNearestCrtc is suppose to snap to the nearest Crtc,
> but best_x and best_y is always positive, hence when calling
> SetCursorPosition it will make the cursor even further away.
> Correct delta x/y to allow negative values and also use
> "width/height -1" in the calculation.  Also choose the closest
> Crtc by setting the "best" value.

Merged.
   9080304..b063a18  master -> master

-- 
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/73c4fcb4/attachment.sig>


More information about the xorg-devel mailing list