summaryrefslogtreecommitdiff
path: root/Xprint/ValTree.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
commitadc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch)
tree23eb7becc5360b2cbe16aa8d45529880067f3989 /Xprint/ValTree.c
parent90f1536dd315cd265bfc7ef35058761a65a01734 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'Xprint/ValTree.c')
-rw-r--r--Xprint/ValTree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xprint/ValTree.c b/Xprint/ValTree.c
index 73aa27a36..327cb468c 100644
--- a/Xprint/ValTree.c
+++ b/Xprint/ValTree.c
@@ -30,6 +30,8 @@ not be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from said
copyright holders.
*/
+/* $XFree86: xc/programs/Xserver/Xprint/ValTree.c,v 1.2 2003/11/10 18:21:44 tsi Exp $ */
+
#include "X.h"
#include "scrnintstr.h"
#include "validate.h"
@@ -116,7 +118,7 @@ XpValidateTree (pParent, pChild, kind)
* borderSize.
*/
origPrntClip = pParent->clipList;
- REGION_INIT(pScreen, &tmpPrntClip, NullBox, 0);
+ REGION_NULL(pScreen, &tmpPrntClip);
REGION_SUBRACT(pScreen, &tmpPrntClip, &pParent->winSize,
&pChild->borderSize);
pParent->clipList = tmpPrntClip;
@@ -149,7 +151,7 @@ XpValidateTree (pParent, pChild, kind)
* Compute pParent's AfterValidate structure by subracting the original
* clipList from the newly computed clipList.
*/
- REGION_INIT(pScreen, &pParent->valdata->after.exposed, NullBox, 0);
+ REGION_NULL(pScreen, &pParent->valdata->after.exposed);
REGION_SUBTRACT(pScreen, &pParent->valdata->after.exposed,
&pParent->clipList, &origPrntClip);