summaryrefslogtreecommitdiff
path: root/src/uxa/uxa-damage.c
diff options
context:
space:
mode:
authorSøren Sandmann <ssp@redhat.com>2010-06-22 00:12:27 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-01-26 08:08:33 -0500
commit8f05e9149da590f4374557e8a41e8b9e35fa007f (patch)
tree7759df564df9b713e48e426086252dd64aa197de /src/uxa/uxa-damage.c
parent1f9bf097d5e983afbc38b60dc44e9386c8e226e7 (diff)
Make the fetched regions much tighter for core text
Diffstat (limited to 'src/uxa/uxa-damage.c')
-rw-r--r--src/uxa/uxa-damage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uxa/uxa-damage.c b/src/uxa/uxa-damage.c
index 8b4794a..63ad0ea 100644
--- a/src/uxa/uxa-damage.c
+++ b/src/uxa/uxa-damage.c
@@ -91,7 +91,6 @@ trim_region (RegionPtr pRegion,
DrawablePtr pDrawable,
int subWindowMode)
{
- RegionPtr pDamageRegion;
RegionRec pixClip;
int draw_x, draw_y;
#ifdef COMPOSITE
@@ -153,7 +152,7 @@ trim_region (RegionPtr pRegion,
box.y2 = draw_y + pDrawable->height;
REGION_INIT(pScreen, &pixClip, &box, 1);
- REGION_INTERSECT (pScreen, pDamageRegion, pRegion, &pixClip);
+ REGION_INTERSECT (pScreen, pRegion, pRegion, &pixClip);
REGION_UNINIT(pScreen, &pixClip);
}