From a74cd3d8406e54a68868bc69f4117c3c25cf1f40 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 14 Oct 2019 10:49:07 -0400 Subject: 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. --- src/include/tabpopup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') 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; -- cgit v1.2.1