[PATCH 28/31] Xinerama: Reset Composite request vector on close

Daniel Stone daniel at fooishbar.org
Fri Dec 2 03:31:34 PST 2011


Similar (identical) to how it interacts with Render and XFixes, also
call PanoramiXCompositeReset() to restore the Composite dispatch table
to how it was when it started, on reset.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 Xext/panoramiX.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index 72a9260..81f49be 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -900,6 +900,9 @@ static void PanoramiXResetProc(ExtensionEntry* extEntry)
 #ifdef XFIXES
     PanoramiXFixesReset ();
 #endif
+#ifdef COMPOSITE
+    PanoramiXCompositeReset ();
+#endif
     screenInfo.numScreens = PanoramiXNumScreens;
     for (i = 256; i--; )
 	ProcVector[i] = SavedProcVector[i];
-- 
1.7.7.3



More information about the xorg-devel mailing list