[PATCH 2/4] dix: reference the cursor just once in InitializeSprite()

Keith Packard keithp at keithp.com
Thu May 22 16:55:19 PDT 2014


Frank Binns <frank.binns at imgtec.com> writes:

> @@ -3237,7 +3237,7 @@ InitializeSprite(DeviceIntPtr pDev, WindowPtr pWin)
>      pCursor = RefCursor(pCursor);
>      if (pSprite->current)
>          FreeCursor(pSprite->current, None);
> -    pSprite->current = RefCursor(pCursor);
> +    pSprite->current = pCursor;

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
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/20140522/fea5afd1/attachment.sig>


More information about the xorg-devel mailing list