diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-07-10 02:03:36 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-10 00:42:10 -0700 |
commit | 43f2393746c44e9d35be6a2a3555205f8e1b4ddf (patch) | |
tree | 9697edc12a8c7c32072ba9a03c9c87bdc00de101 | |
parent | 766a403bc7ff249fdc6b9049329b633e73738329 (diff) |
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>
-rw-r--r-- | Xext/panoramiX.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 3398a8d83..5653c08e1 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]; |