diff options
author | Victor Kareh <[email protected]> | 2019-10-14 10:49:07 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-27 13:42:15 -0400 |
commit | a74cd3d8406e54a68868bc69f4117c3c25cf1f40 (patch) | |
tree | 1a1e3178233387056535d001cab7003ae7c5af12 /src/include/tabpopup.h | |
parent | 621223f9180936e946b8a89b37d4b106187a6d41 (diff) | |
download | marco-a74cd3d8406e54a68868bc69f4117c3c25cf1f40.tar.bz2 marco-a74cd3d8406e54a68868bc69f4117c3c25cf1f40.tar.xz |
tabpopup: Render window thumbnail as cairo surface
Instead of converting from surface to a GdkPixbuf and then back to
a surface, we keep it as a surface for the entire manipulation flow.
This improves rendering speed a bit and sets the ground for a higher
resolution thumbnail in the future.
Diffstat (limited to 'src/include/tabpopup.h')
-rw-r--r-- | src/include/tabpopup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/tabpopup.h b/src/include/tabpopup.h index 447264e1..19e8621b 100644 --- a/src/include/tabpopup.h +++ b/src/include/tabpopup.h @@ -49,6 +49,7 @@ struct _MetaTabEntry MetaTabEntryKey key; const char *title; GdkPixbuf *icon; + cairo_surface_t *win_surface; MetaRectangle rect; MetaRectangle inner_rect; guint blank : 1; |