[xserver-commit] xserver/mi mivaltree.c,1.14,1.15

Keith Packard xserver-commit@pdx.freedesktop.org
Sun, 09 Nov 2003 20:57:19 -0800


Committed by: keithp

Update of /cvs/xserver/xserver/mi
In directory pdx:/tmp/cvs-serv23907/mi

Modified Files:
	mivaltree.c 
Log Message:
	* mi/mivaltree.c:
	Cover usage of redirectDraw by COMPOSITE


Index: mivaltree.c
===================================================================
RCS file: /cvs/xserver/xserver/mi/mivaltree.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- mivaltree.c	7 Nov 2003 23:29:29 -0000	1.14
+++ mivaltree.c	10 Nov 2003 04:57:17 -0000	1.15
@@ -661,8 +661,10 @@
 		if (pWin->valdata)
 		{
 		    RegionPtr	pBorderClip = &pWin->borderClip;
+#ifdef COMPOSITE
 		    if (pWin->redirectDraw && miGetRedirectBorderClipProc)
 			pBorderClip = (*miGetRedirectBorderClipProc)(pWin);
+#endif
 		    REGION_APPEND( pScreen, &totalClip, pBorderClip );
 		    if (pWin->viewable)
 			viewvals++;
@@ -678,8 +680,10 @@
 		if (pWin->valdata)
 		{
 		    RegionPtr	pBorderClip = &pWin->borderClip;
+#ifdef COMPOSITE
 		    if (pWin->redirectDraw && miGetRedirectBorderClipProc)
 			pBorderClip = (*miGetRedirectBorderClipProc)(pWin);
+#endif
 		    REGION_APPEND( pScreen, &totalClip, pBorderClip );
 		    if (pWin->viewable)
 			viewvals++;