diff options
author | Søren Sandmann <ssp@redhat.com> | 2010-06-22 00:12:27 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-01-26 08:08:33 -0500 |
commit | 8f05e9149da590f4374557e8a41e8b9e35fa007f (patch) | |
tree | 7759df564df9b713e48e426086252dd64aa197de /src/uxa/uxa-damage.c | |
parent | 1f9bf097d5e983afbc38b60dc44e9386c8e226e7 (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.c | 3 |
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); } |