summaryrefslogtreecommitdiff
path: root/miext/rootless/rootlessValTree.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 /miext/rootless/rootlessValTree.c
parent990fc643ae90c034187707e7de414d80640ec6da (diff)
Shape extension is built-in and mandatory.
Diffstat (limited to 'miext/rootless/rootlessValTree.c')
-rw-r--r--miext/rootless/rootlessValTree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/miext/rootless/rootlessValTree.c b/miext/rootless/rootlessValTree.c
index 4f16530cc..d52a2af81 100644
--- a/miext/rootless/rootlessValTree.c
+++ b/miext/rootless/rootlessValTree.c
@@ -104,7 +104,6 @@ Equipment Corporation.
#include "globals.h"
-#ifdef SHAPE
/*
* Compute the visibility of a shaped window
*/
@@ -167,7 +166,6 @@ RootlessShapedWindowIn (pScreen, universe, bounding, rect, x, y)
return rgnIN;
return rgnOUT;
}
-#endif
#define HasParentRelativeBorder(w) (!(w)->borderIsPixel && \
HasBorder(w) && \
@@ -235,7 +233,6 @@ RootlessComputeClips (pParent, pScreen, universe, kind, exposed)
break;
case rgnPART:
newVis = VisibilityPartiallyObscured;
-#ifdef SHAPE
{
RegionPtr pBounding;
@@ -255,7 +252,6 @@ RootlessComputeClips (pParent, pScreen, universe, kind, exposed)
}
}
}
-#endif
break;
default:
newVis = VisibilityFullyObscured;