[xserver-commit] xserver/xfixes region.c,1.5,1.6
Warren Turkal
xserver-commit@pdx.freedesktop.org
- Previous message: [xserver-commit] xserver/miext/rootless rootlessCommon.h,1.3,1.4 rootlessScreen.c,1.3,1.4 rootlessValTree.c,1.2,1.3 rootlessWindow.c,1.5,1.6 rootlessWindow.h,1.2,1.3
- Next message: [xserver-commit] xserver/mi mibstore.c,1.12,1.13 miexpose.c,3.11,3.12 miinitext.c,3.74,3.75 mioverlay.c,3.16,3.17 miscrinit.c,3.20,3.21 mivaltree.c,1.15,1.16 miwindow.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: wt
Update of /cvs/xserver/xserver/xfixes
In directory pdx:/tmp/cvs-serv27606/xfixes
Modified Files:
region.c
Log Message:
Make the shape extension always build
Index: region.c
===================================================================
RCS file: /cvs/xserver/xserver/xfixes/region.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- region.c 22 Nov 2003 00:49:11 -0000 1.5
+++ region.c 12 Feb 2004 18:58:49 -0000 1.6
@@ -31,9 +31,7 @@
#endif
#include <regionstr.h>
#include <gcstruct.h>
-#ifdef SHAPE
#include <shapeint.h>
-#endif
RESTYPE RegionResType;
@@ -168,20 +166,16 @@
}
switch (stuff->kind) {
case WindowRegionBounding:
-#ifdef SHAPE
pRegion = wBoundingShape(pWin);
if (!pRegion)
-#endif
{
pRegion = CreateBoundingShape (pWin);
copy = FALSE;
}
break;
case WindowRegionClip:
-#ifdef SHAPE
pRegion = wClipShape(pWin);
if (!pRegion)
-#endif
{
pRegion = CreateClipShape (pWin);
copy = FALSE;
@@ -670,7 +664,6 @@
int
ProcXFixesSetWindowShapeRegion (ClientPtr client)
{
-#ifdef SHAPE
WindowPtr pWin;
ScreenPtr pScreen;
RegionPtr pRegion;
@@ -730,9 +723,6 @@
(*pScreen->SetShape) (pWin);
SendShapeNotify (pWin, stuff->destKind);
return (client->noClientException);
-#else
- return BadRequest;
-#endif
}
int
- Previous message: [xserver-commit] xserver/miext/rootless rootlessCommon.h,1.3,1.4 rootlessScreen.c,1.3,1.4 rootlessValTree.c,1.2,1.3 rootlessWindow.c,1.5,1.6 rootlessWindow.h,1.2,1.3
- Next message: [xserver-commit] xserver/mi mibstore.c,1.12,1.13 miexpose.c,3.11,3.12 miinitext.c,3.74,3.75 mioverlay.c,3.16,3.17 miscrinit.c,3.20,3.21 mivaltree.c,1.15,1.16 miwindow.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]