diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-18 19:32:17 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-18 19:32:17 +0000 |
commit | 4b75c7f6358b28978b05ffa4b73853d936454f50 (patch) | |
tree | fcaa243699c1f97e88799d303c0cc81a06b08de4 /miext | |
parent | 8a7481a27496c842ec2ef5bac5e4d0b5e6279deb (diff) |
First pass at "Standard" Xinerama. The sources for this came from Heather
Lanigan's xinerama tree on Sourceforge.Net. No attempt has been made to
handle previous, non-standard versions of the protocol. Nor has any
attempt been made to preserve the ABI of previous versions -- that part
will be added at a later time, and then probably only on systems that
have nice object/linker semantics, e.g. ELF systems with weak symbols.
Diffstat (limited to 'miext')
-rw-r--r-- | miext/rootless/safeAlpha/safeAlphaWindow.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/miext/rootless/safeAlpha/safeAlphaWindow.c b/miext/rootless/safeAlpha/safeAlphaWindow.c index 2c3761875..f5f445f0c 100644 --- a/miext/rootless/safeAlpha/safeAlphaWindow.c +++ b/miext/rootless/safeAlpha/safeAlphaWindow.c @@ -1,3 +1,4 @@ +/* $XdotOrg$ */ /* * Specialized window functions to protect the alpha channel */ @@ -36,9 +37,9 @@ #include "fb.h" #include "safeAlpha.h" -#ifdef PANORAMIX -#include "panoramiX.h" -#include "panoramiXsrv.h" +#ifdef XINERAMA +#include "xinerama.h" +#include "xineramaSrv.h" #endif /* @@ -67,14 +68,14 @@ SafeAlphaFillRegionTiled( int yRot = pDrawable->y; FbBits planeMask; -#ifdef PANORAMIX - if(!noPanoramiXExtension) +#ifdef XINERAMA + if(!noXineramaExtension) { int index = pDrawable->pScreen->myNum; if(&WindowTable[index]->drawable == pDrawable) { - xRot -= panoramiXdataPtr[index].x; - yRot -= panoramiXdataPtr[index].y; + xRot -= xineramaDataPtr[index].x; + yRot -= xineramaDataPtr[index].y; } } #endif |