summaryrefslogtreecommitdiff
path: root/mi/mivaltree.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-07-24 09:00:22 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-24 15:46:08 -0400
commitd6228cb22aa89b90834d80d98b91862c1fc01b54 (patch)
tree4e284d35f26e728cfe5c4502f25ddf1c5591aa58 /mi/mivaltree.c
parent990fc643ae90c034187707e7de414d80640ec6da (diff)
Shape extension is built-in and mandatory.
Diffstat (limited to 'mi/mivaltree.c')
-rw-r--r--mi/mivaltree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mi/mivaltree.c b/mi/mivaltree.c
index 9449db730..92dcffeea 100644
--- a/mi/mivaltree.c
+++ b/mi/mivaltree.c
@@ -103,7 +103,6 @@ Equipment Corporation.
#include "globals.h"
-#ifdef SHAPE
/*
* Compute the visibility of a shaped window
*/
@@ -163,7 +162,6 @@ miShapedWindowIn (ScreenPtr pScreen, RegionPtr universe, RegionPtr bounding,
return rgnIN;
return rgnOUT;
}
-#endif
static GetRedirectBorderClipProcPtr miGetRedirectBorderClipProc;
static SetRedirectBorderClipProcPtr miSetRedirectBorderClipProc;
@@ -269,7 +267,6 @@ miComputeClips (
break;
case rgnPART:
newVis = VisibilityPartiallyObscured;
-#ifdef SHAPE
{
RegionPtr pBounding;
@@ -289,7 +286,6 @@ miComputeClips (
}
}
}
-#endif
break;
default:
newVis = VisibilityFullyObscured;