Skip to content

Commit

Permalink
Fix cairo-xlib-xcb compilation
Browse files Browse the repository at this point in the history
This is broken since:

commit b1192be
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Mon Sep 21 21:35:05 2015 +0930

    Don't cull very thin lines on vector surfaces

    On vector surfaces, use a minimum line width when calculating extents.

    Bug 77298

Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information
Uli Schlachter committed Nov 6, 2015
1 parent fc689d7 commit bf41cc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cairo-xlib-xcb-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,8 @@ _cairo_xlib_xcb_surface_create (void *dpy,
_cairo_surface_init (&surface->base,
&_cairo_xlib_xcb_surface_backend,
_cairo_xlib_xcb_device_create (dpy, xcb->device),
xcb->content);
xcb->content,
FALSE); /* is_vector */

/* _cairo_surface_init() got another reference to the device, drop ours */
cairo_device_destroy (surface->base.device);
Expand Down

0 comments on commit bf41cc3

Please sign in to comment.