[PATCH 52/54] Xinerama: Reset Composite request vector on close

Daniel Stone daniel at fooishbar.org
Mon Jul 9 18:03:36 PDT 2012


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>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Acked-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Xext/panoramiX.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index 682ef72..4b6aace 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -895,6 +895,9 @@ PanoramiXResetProc(ExtensionEntry * extEntry)
 #ifdef XFIXES
     PanoramiXFixesReset();
 #endif
+#ifdef COMPOSITE
+    PanoramiXCompositeReset ();
+#endif
     screenInfo.numScreens = PanoramiXNumScreens;
     for (i = 256; i--;)
         ProcVector[i] = SavedProcVector[i];
-- 
1.7.10.4



More information about the xorg-devel mailing list