[PATCH xserver] xfree86: Remove broken RANDR disabling logic (v4)

Keith Packard keithp at keithp.com
Fri Jan 26 21:58:02 UTC 2018


Adam Jackson <ajax at redhat.com> writes:

> +static void
> +xf86EnsureRANDR(ScreenPtr pScreen)
> +{
> +#ifdef RANDR
> +        if (!dixPrivateKeyRegistered(rrPrivKey) ||
> +            !rrGetScrPriv(pScreen))
> +            xf86RandRInit(pScreen);
> +#endif
> +}

Seems like sticking this check in xf86RandRInit might be cleaner?

Otherwise, the logic seems right.

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


-- 
-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/20180127/76a4b182/attachment-0001.sig>


More information about the xorg-devel mailing list