diff options
author | Adam Jackson <ajax@redhat.com> | 2013-10-29 10:44:07 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-12-09 13:20:36 -0500 |
commit | 8dbe456abae1a32fb6c5c74fa456bc7301cccabe (patch) | |
tree | 550afb1c86758de04e9fccb8f3d690174eadc9c5 | |
parent | c6d4c2a24140feee4ceae48c4c74fedcae9b68b3 (diff) |
xinerama: Export the screen region
damageext wants this so it can intersect subtract requests against the
root window geometry.
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | Xext/panoramiX.c | 2 | ||||
-rw-r--r-- | Xext/panoramiXsrv.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 2b3a5704e..15c38a90f 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 7c605fe66..0fcde4fd5 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); |