Adam Jackson <[email protected]> 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 <[email protected]> -- -keith
signature.asc
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
