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 <daniel@fooishbar.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Daniel Stone 2012-07-10 02:03:36 +01:00 committed by Keith Packard
parent 766a403bc7
commit 43f2393746

View File

@ -894,6 +894,9 @@ PanoramiXResetProc(ExtensionEntry * extEntry)
PanoramiXRenderReset();
#ifdef XFIXES
PanoramiXFixesReset();
#endif
#ifdef COMPOSITE
PanoramiXCompositeReset ();
#endif
screenInfo.numScreens = PanoramiXNumScreens;
for (i = 256; i--;)