mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
x11: Change the iconcache / window icons to being cairo surfaces
This simplifies the drawing codepath and makes us able to delete a bunch of GdkPixbuf manipulation.
This commit is contained in:
@@ -106,8 +106,8 @@ struct _MetaWindow
|
||||
char *desc; /* used in debug spew */
|
||||
char *title;
|
||||
|
||||
GdkPixbuf *icon;
|
||||
GdkPixbuf *mini_icon;
|
||||
cairo_surface_t *icon;
|
||||
cairo_surface_t *mini_icon;
|
||||
|
||||
MetaWindowType type;
|
||||
|
||||
@@ -479,9 +479,9 @@ struct _MetaWindowClass
|
||||
void (*get_default_skip_hints) (MetaWindow *window,
|
||||
gboolean *skip_taskbar_out,
|
||||
gboolean *skip_pager_out);
|
||||
gboolean (*update_icon) (MetaWindow *window,
|
||||
GdkPixbuf **icon,
|
||||
GdkPixbuf **mini_icon);
|
||||
gboolean (*update_icon) (MetaWindow *window,
|
||||
cairo_surface_t **icon,
|
||||
cairo_surface_t **mini_icon);
|
||||
};
|
||||
|
||||
/* These differ from window->has_foo_func in that they consider
|
||||
|
Reference in New Issue
Block a user