diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c index d6bef8305..75a1f87a8 100644 --- a/src/cairo-xcb-surface.c +++ b/src/cairo-xcb-surface.c @@ -526,10 +526,10 @@ _put_shm_image (cairo_xcb_surface_t *surface, surface->drawable, gc, surface->width, surface->height, + 0, 0, + image->width, image->height, image->base.device_transform_inverse.x0, image->base.device_transform_inverse.y0, - image->width, image->height, - 0, 0, image->depth, shm_info->shm, shm_info->offset);