From 333d71af11c0bde9798057baa107359a950a12a6 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 14 Feb 2020 14:37:41 +0100 Subject: [PATCH] [IconFetcher] Do faster scaling. --- source/rofi-icon-fetcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c index e0917248..7be6db14 100644 --- a/source/rofi-icon-fetcher.c +++ b/source/rofi-icon-fetcher.c @@ -249,6 +249,7 @@ static void rofi_icon_fetcher_worker ( thread_state *sdata, G_GNUC_UNUSED gpoint cairo_t *d = cairo_create ( surface ); cairo_scale ( d, scale, scale ); cairo_set_source_surface ( d, icon_surf, 0.0,0.0); + cairo_pattern_set_filter (cairo_get_source (d), CAIRO_FILTER_FAST); cairo_paint ( d ); cairo_destroy ( d );