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:
parent
766a403bc7
commit
43f2393746
|
@ -894,6 +894,9 @@ PanoramiXResetProc(ExtensionEntry * extEntry)
|
||||||
PanoramiXRenderReset();
|
PanoramiXRenderReset();
|
||||||
#ifdef XFIXES
|
#ifdef XFIXES
|
||||||
PanoramiXFixesReset();
|
PanoramiXFixesReset();
|
||||||
|
#endif
|
||||||
|
#ifdef COMPOSITE
|
||||||
|
PanoramiXCompositeReset ();
|
||||||
#endif
|
#endif
|
||||||
screenInfo.numScreens = PanoramiXNumScreens;
|
screenInfo.numScreens = PanoramiXNumScreens;
|
||||||
for (i = 256; i--;)
|
for (i = 256; i--;)
|
||||||
|
|
Loading…
Reference in New Issue