[cairo-commit] src/cairo-xlib-surface.c
Benjamin Otte
company at kemper.freedesktop.org
Tue May 4 04:55:42 PDT 2010
src/cairo-xlib-surface.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7002b824729885a9d579f677ecc665b620847480
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue May 4 13:52:09 2010 +0200
xlib: Don't delete gradients in unbounded fixup code
The fix is ugly, but for now it works.
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 30c08d3..fa7d645 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -2088,7 +2088,8 @@ _cairo_xlib_surface_acquire_pattern_surface (cairo_xlib_display_t *display,
surface = (cairo_xlib_surface_t *)
_cairo_xlib_surface_create_internal (dst->screen, None,
NULL, format,
- 0, 0, 32);
+ /* what could possibly go wrong? */
+ XLIB_COORD_MAX, XLIB_COORD_MAX, 32);
if (unlikely (surface->base.status)) {
XRenderFreePicture (display->display, picture);
return surface->base.status;
More information about the cairo-commit
mailing list