summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-11-30 20:54:38 +1000
committerDave Airlie <airlied@redhat.com>2012-12-04 10:43:40 +1000
commita2748aa6bde13b447a246606767535a30090cd02 (patch)
tree5c3a016c174f7ae810e94d3e048cb9490dc688eb
parentc0e68f8e70e0b0fbb00992228c4651d5b0902759 (diff)
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> (cherry picked from commit e9ea96d6a88f197928c82b008953f1810de6f792)
-rw-r--r--randr/randr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/randr.c b/randr/randr.c
index da48c3f06..f0decfc6c 100644
--- a/randr/randr.c
+++ b/randr/randr.c
@@ -264,6 +264,8 @@ RRInit(void)
return FALSE;
if (!RROutputInit())
return FALSE;
+ if (!RRProviderInit())
+ return FALSE;
RRGeneration = serverGeneration;
}
if (!dixRegisterPrivateKey(&rrPrivKeyRec, PRIVATE_SCREEN, 0))