randr: call RRProviderInit in the proper place.

No idea where this got lost across development cycles, but its
definitely missing.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=57448

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Dave Airlie 2012-11-30 20:54:38 +10:00 committed by Keith Packard
parent 1712a45422
commit e9ea96d6a8

View File

@ -264,6 +264,8 @@ RRInit(void)
return FALSE; return FALSE;
if (!RROutputInit()) if (!RROutputInit())
return FALSE; return FALSE;
if (!RRProviderInit())
return FALSE;
RRGeneration = serverGeneration; RRGeneration = serverGeneration;
} }
if (!dixRegisterPrivateKey(&rrPrivKeyRec, PRIVATE_SCREEN, 0)) if (!dixRegisterPrivateKey(&rrPrivKeyRec, PRIVATE_SCREEN, 0))