From 43f2393746c44e9d35be6a2a3555205f8e1b4ddf Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 10 Jul 2012 02:03:36 +0100 Subject: [PATCH] Xinerama: Reset Composite request vector on close 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 Reviewed-by: Adam Jackson Acked-by: Peter Hutterer Signed-off-by: Keith Packard --- Xext/panoramiX.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 3398a8d83..5653c08e1 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -894,6 +894,9 @@ PanoramiXResetProc(ExtensionEntry * extEntry) PanoramiXRenderReset(); #ifdef XFIXES PanoramiXFixesReset(); +#endif +#ifdef COMPOSITE + PanoramiXCompositeReset (); #endif screenInfo.numScreens = PanoramiXNumScreens; for (i = 256; i--;)