[PATCH] XRANDR: Make sure that hardware cursor is inside crtc all the time.

Keith Packard keithp at keithp.com
Sat Mar 22 10:16:16 PDT 2008


On Sat, 2008-03-22 at 16:03 +0200, Maxim Levitsky wrote:

> +	/* Adjust cursor position*/
> +	xf86_reload_cursors (crtc->scrn->pScreen);

I suspect a better plan would be to turn off the cursor before setting
the mode, then reload it afterwards. Otherwise, you may ask the driver
to position the cursors badly for the current mode.

Splitting xf86_reload_cursors into two pieces, one which hides them and
another which loads them should do the trick.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080322/ce19144e/attachment.pgp>


More information about the xorg mailing list