[cairo-commit] src/cairo-xlib-surface.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Dec 29 07:06:32 PST 2012


 src/cairo-xlib-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 71028865fae38bf26c45aae72e0a6773a19a640d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Dec 29 15:05:53 2012 +0000

    Revert "xlib/shm: Do not trigger a surplus event from XShmPutImage"
    
    This reverts commit c97f2d4acd5c4a1a4b839c72626f84e242e60b23.
    
    Testing suggests that keeping that event is a win; so do so.

diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 4b90b10..e9e647a 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1296,7 +1296,7 @@ _cairo_xlib_surface_draw_image (cairo_xlib_surface_t   *surface,
 
     if (ximage.obdata)
 	XShmPutImage (display->display, surface->drawable, gc, &ximage,
-		      src_x, src_y, dst_x, dst_y, width, height, FALSE);
+		      src_x, src_y, dst_x, dst_y, width, height, TRUE);
     else
 	XPutImage (display->display, surface->drawable, gc, &ximage,
 		   src_x, src_y, dst_x, dst_y, width, height);


More information about the cairo-commit mailing list