diff options
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 5f6d7df1..58595231 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -5582,7 +5582,7 @@ sna_do_copy(DrawablePtr src, DrawablePtr dst, GCPtr gc, region.extents.x2, region.extents.y2, (long)RegionNumRects(®ion))); - if (RegionNotEmpty(®ion)) + if (!box_empty(®ion.extents)) copy(src, dst, gc, ®ion, sx-dx, sy-dy, bitPlane, closure); RegionUninit(®ion); |