[PATCH] randr: Add additional cursor confinement hook in the ScreenRec

Adam Jackson ajax at nwnk.net
Mon Dec 20 09:23:22 PST 2010

On Mon, 2010-11-15 at 16:23 -0500, Adam Jackson wrote:
> And use it to confine cursor motion to within the bounds of a single
> CRTC, iff all the CRTCs within a ScreenRec are reachable from each
> other.  If not you get the same "cursor floats within the bounding rect"
> behaviour you get now.
> v2:
> - Fix a read-from-uninitialized typo in crtcs_adjacent
> - Silence a warning from crtc_bounds
> - Avoid over-exposing miPointerRec to the rest of DIX
> - Replace clever matrix math with simple depthi-first-search code from
>   Mikhail Gusarov
> Signed-off-by: Adam Jackson <ajax at redhat.com>


- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101220/7ee664f8/attachment-0001.pgp>

More information about the xorg-devel mailing list