diff options
author | Dave Davenport <qball@gmpclient.org> | 2023-07-28 21:15:50 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2023-07-28 21:15:50 +0200 |
commit | d847629e927caef276646233043cbfc4287f9723 (patch) | |
tree | 8e3d70c45dac84bd54ae8ee27a80ffc0865117b8 /source/rofi-icon-fetcher.c | |
parent | 82f9605c30e0765816aa23384edf9f99f68e4544 (diff) |
Avoid some unneeded refilters when icons updates.less-refiltering
Diffstat (limited to 'source/rofi-icon-fetcher.c')
-rw-r--r-- | source/rofi-icon-fetcher.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c index 120ebee1..b19acab5 100644 --- a/source/rofi-icon-fetcher.c +++ b/source/rofi-icon-fetcher.c @@ -319,7 +319,7 @@ static void rofi_icon_fetcher_worker(thread_state *sdata, cairo_destroy(cr); sentry->surface = surface; sentry->query_done = TRUE; - rofi_view_reload(); + rofi_view_reload(FALSE); return; } else { @@ -338,7 +338,7 @@ static void rofi_icon_fetcher_worker(thread_state *sdata, } if (icon_path_ == NULL) { sentry->query_done = TRUE; - rofi_view_reload(); + rofi_view_reload(FALSE); return; } } else { @@ -352,7 +352,7 @@ static void rofi_icon_fetcher_worker(thread_state *sdata, if (suf == NULL) { sentry->query_done = TRUE; g_free(icon_path_); - rofi_view_reload(); + rofi_view_reload(FALSE); return; } @@ -373,7 +373,7 @@ static void rofi_icon_fetcher_worker(thread_state *sdata, sentry->surface = icon_surf; g_free(icon_path_); sentry->query_done = TRUE; - rofi_view_reload(); + rofi_view_reload(FALSE); } uint32_t rofi_icon_fetcher_query_advanced(const char *name, const int wsize, |