From 4b75c7f6358b28978b05ffa4b73853d936454f50 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Thu, 18 Dec 2003 19:32:17 +0000 Subject: 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. --- miext/rootless/safeAlpha/safeAlphaWindow.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'miext') 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 -- cgit v1.2.3