iconcache: Fix a dumb thinko

This is an xlib surface, not an image surface.
This commit is contained in:
Jasper St. Pierre 2015-02-17 23:33:44 -08:00
parent 9a99a80710
commit 7966f00a18

View File

@ -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);