From 7a9c524d0f68127baa0ced0a7f6b52b899a7cccb Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 29 Oct 2013 10:44:07 -0400 Subject: [PATCH 1/6] xinerama: Export the screen region damageext wants this so it can intersect subtract requests against the root window geometry. Signed-off-by: Adam Jackson --- Xext/panoramiX.c | 2 +- Xext/panoramiXsrv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 2b3a570..15c38a9 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -73,7 +73,7 @@ int PanoramiXPixWidth = 0; int PanoramiXPixHeight = 0; int PanoramiXNumScreens = 0; -static RegionRec PanoramiXScreenRegion = { {0, 0, 0, 0}, NULL }; +_X_EXPORT RegionRec PanoramiXScreenRegion = { {0, 0, 0, 0}, NULL }; static int PanoramiXNumDepths; static DepthPtr PanoramiXDepths; diff --git a/Xext/panoramiXsrv.h b/Xext/panoramiXsrv.h index 7c605fe..0fcde4f 100644 --- a/Xext/panoramiXsrv.h +++ b/Xext/panoramiXsrv.h @@ -11,6 +11,7 @@ extern _X_EXPORT int PanoramiXNumScreens; extern _X_EXPORT int PanoramiXPixWidth; extern _X_EXPORT int PanoramiXPixHeight; +extern _X_EXPORT RegionRec PanoramiXScreenRegion; extern _X_EXPORT VisualID PanoramiXTranslateVisualID(int screen, VisualID orig); extern _X_EXPORT void PanoramiXConsolidate(void); -- 1.8.3.1