iconcache: Fix a dumb thinko
This is an xlib surface, not an image surface.
This commit is contained in:
parent
9a99a80710
commit
7966f00a18
@ -349,8 +349,8 @@ try_pixmap_and_mask (MetaDisplay *display,
|
||||
|
||||
masked = cairo_surface_create_similar_image (icon,
|
||||
CAIRO_FORMAT_ARGB32,
|
||||
cairo_image_surface_get_width (icon),
|
||||
cairo_image_surface_get_height (icon));
|
||||
cairo_xlib_surface_get_width (icon),
|
||||
cairo_xlib_surface_get_height (icon));
|
||||
cr = cairo_create (masked);
|
||||
|
||||
cairo_set_source_surface (cr, icon, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user