summaryrefslogtreecommitdiff
path: root/xserver/miext/shadow/shrotpackYX.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-12-05 15:36:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-12-05 15:36:12 +0000
commita90ee792d96752ad1b71b9ada922fa6afe478c99 (patch)
tree6143b00f7646951d23dfe2a4fe2992ca40b77069 /xserver/miext/shadow/shrotpackYX.h
parentbc97d4ecc0aa9e1b823565b07282f848700bd11a (diff)
Upgrade to xorg-server 1.9.2.
Tested by ajacoutot@, krw@, shadchin@ and jasper@ on various configurations including multihead with both zaphod and xrandr.
Diffstat (limited to 'xserver/miext/shadow/shrotpackYX.h')
-rw-r--r--xserver/miext/shadow/shrotpackYX.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xserver/miext/shadow/shrotpackYX.h b/xserver/miext/shadow/shrotpackYX.h
index f823552d3..7d36bd1bd 100644
--- a/xserver/miext/shadow/shrotpackYX.h
+++ b/xserver/miext/shadow/shrotpackYX.h
@@ -1,6 +1,4 @@
/*
- * $Id: shrotpackYX.h,v 1.1 2006/11/26 18:15:06 matthieu Exp $
- *
* Copyright © 2004 Philip Blundell
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@ -65,8 +63,8 @@ FUNC (ScreenPtr pScreen,
{
RegionPtr damage = shadowDamage(pBuf);
PixmapPtr pShadow = pBuf->pPixmap;
- int nbox = REGION_NUM_RECTS (damage);
- BoxPtr pbox = REGION_RECTS (damage);
+ int nbox = RegionNumRects (damage);
+ BoxPtr pbox = RegionRects (damage);
FbBits *shaBits;
Data *shaBase, *shaLine, *sha;
FbStride shaStride, winStride;