mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-25 01:20:34 +01:00
xlib-xcb: Implement surface_set_drawable
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9ec5e9fee6
commit
3ebe0ca876
1 changed files with 5 additions and 1 deletions
|
|
@ -647,7 +647,11 @@ cairo_xlib_surface_set_drawable (cairo_surface_t *abstract_surface,
|
|||
return;
|
||||
}
|
||||
|
||||
ASSERT_NOT_REACHED;
|
||||
cairo_xcb_surface_set_drawable (&surface->xcb->base, drawable, width, height);
|
||||
if (unlikely (surface->xcb->base.status)) {
|
||||
status = _cairo_surface_set_error (abstract_surface,
|
||||
_cairo_error (surface->xcb->base.status));
|
||||
}
|
||||
}
|
||||
|
||||
Display *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue