diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-29 14:56:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-29 14:56:24 +0000 |
commit | c97f2d4acd5c4a1a4b839c72626f84e242e60b23 (patch) | |
tree | ff94bf6694ee8936f643385349b0b976c4769cf9 | |
parent | 0c84a5474d4e90fc9361ccbb0ebc3d0580bad82b (diff) | |
download | cairo-c97f2d4acd5c4a1a4b839c72626f84e242e60b23.tar.gz |
xlib/shm: Do not trigger a surplus event from XShmPutImage
As our lazy event mechanism is sufficient for tracking when to reuse shm
memory, and the events are not necessary for ShmPut/ShmGetImage paths.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/cairo-xlib-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index e9e647a19..4b90b10e8 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, TRUE); + src_x, src_y, dst_x, dst_y, width, height, FALSE); else XPutImage (display->display, surface->drawable, gc, &ximage, src_x, src_y, dst_x, dst_y, width, height); |