diff options
Diffstat (limited to 'composite/compext.c')
-rw-r--r-- | composite/compext.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/composite/compext.c b/composite/compext.c index 944f8d844..ece51d099 100644 --- a/composite/compext.c +++ b/composite/compext.c @@ -674,6 +674,9 @@ CompositeExtensionInit (void) ExtensionEntry *extEntry; int s; + /* Assume initialization is going to fail */ + noCompositeExtension = TRUE; + for (s = 0; s < screenInfo.numScreens; s++) { ScreenPtr pScreen = screenInfo.screens[s]; VisualPtr vis; @@ -731,4 +734,7 @@ CompositeExtensionInit (void) return; miRegisterRedirectBorderClipProc (compSetRedirectBorderClip, compGetRedirectBorderClip); + + /* Initialization succeeded */ + noCompositeExtension = FALSE; } |