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 <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Acked-by: Peter Hutterer <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to