summaryrefslogtreecommitdiff
path: root/composite/compinit.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2006-03-29 17:51:54 +0000
committerDeron Johnson <deron.johnson@sun.com>2006-03-29 17:51:54 +0000
commite31e8ace1043eab340d6b60a6e98b23ebf102786 (patch)
tree9abb7e11fae83112a67367d857f7fb79fa72e40b /composite/compinit.c
parentff6f88348c7498e83b0b143ef3737fd6eb0995e4 (diff)
Fix composite overlay window bug 6411
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;
}