[PATCH xserver 1/2] animcur: Fix transitions between animated cursors

Keith Packard keithp at keithp.com
Tue Jan 9 22:06:53 UTC 2018


Adam Jackson <ajax at redhat.com> writes:

> +static void
> +AnimCurCancelTimer(DeviceIntPtr pDev)
> +{
> +    CursorPtr cur = pDev->spriteInfo->anim.pCursor;
> +
> +    if (IsAnimCur(cur))
> +        TimerCancel(GetAnimCur(cur)->timer);
> +}
> +

Should check for a NULL cursor here.

Otherwise, this lgtm.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180109/6cf5c8ef/attachment.sig>


More information about the xorg-devel mailing list