diff options
-rw-r--r-- | fb/fbtrap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fb/fbtrap.c b/fb/fbtrap.c index 2554fccbf..612fae797 100644 --- a/fb/fbtrap.c +++ b/fb/fbtrap.c @@ -29,6 +29,7 @@ #include "picturestr.h" #include "mipict.h" #include "fbpict.h" +#include "damage.h" void fbAddTraps (PicturePtr pPicture, @@ -117,6 +118,8 @@ fbShapes (CompositeShapesFunc composite, { pixman_format_code_t format; + DamageRegionAppend (pDst->pDrawable, pDst->pCompositeClip); + if (!maskFormat) { int i; @@ -161,6 +164,8 @@ fbShapes (CompositeShapesFunc composite, yDst + dst_yoff, nshapes, shapes); } + + DamageRegionProcessPending (pDst->pDrawable); } free_pixman_pict (pSrc, src); |