diff --git a/mi/miexpose.c b/mi/miexpose.c index c34530c34..d84bb6a98 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -112,10 +112,6 @@ the region package can call this. non-existent areas to non-obscured areas of the destination. Paint the background for the region, if the destination is a window. -NOTE: - this should generally be called, even if graphicsExposures is false, -because this is where bits get recovered from backing store. - */ RegionPtr @@ -140,10 +136,7 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, Bool extents; /* avoid work if we can */ - if (!pGC->graphicsExposures && - (pDstDrawable->type == DRAWABLE_PIXMAP) && - ((pSrcDrawable->type == DRAWABLE_PIXMAP) || - (((WindowPtr) pSrcDrawable)->backStorage == 0))) + if (!pGC->graphicsExposures && pDstDrawable->type == DRAWABLE_PIXMAP) return NULL; srcBox.x1 = srcx;