summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-29 14:56:24 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-29 14:56:24 +0000
commitc97f2d4acd5c4a1a4b839c72626f84e242e60b23 (patch)
treeff94bf6694ee8936f643385349b0b976c4769cf9
parent0c84a5474d4e90fc9361ccbb0ebc3d0580bad82b (diff)
downloadcairo-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.c2
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);