summaryrefslogtreecommitdiff
path: root/composite/compinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'composite/compinit.c')
-rw-r--r--composite/compinit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/composite/compinit.c b/composite/compinit.c
index e74e38248..5a1361216 100644
--- a/composite/compinit.c
+++ b/composite/compinit.c
@@ -88,6 +88,7 @@ compCloseScreen (int index, ScreenPtr pScreen)
xfree (cs);
pScreen->devPrivates[CompScreenPrivateIndex].ptr = 0;
ret = (*pScreen->CloseScreen) (index, pScreen);
+
return ret;
}
@@ -419,5 +420,7 @@ compScreenInit (ScreenPtr pScreen)
pScreen->devPrivates[CompScreenPrivateIndex].ptr = (pointer) cs;
+ RegisterRealChildHeadProc(CompositeRealChildHead);
+
return TRUE;
}