From 84a58aa0049e503011330fa7fc43de4aecef37bc Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 25 Aug 2017 14:47:05 -0400 Subject: [PATCH] clamp luncher icon size to 8x8 --- src/modules/luncher/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 9cd83a3e9..c52b18b9c 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -1014,7 +1014,7 @@ _bar_icon_file_set(Icon *ic, Efreet_Desktop *desktop, E_Client *non_desktop_clie path = NULL; else if (strncmp(desktop->icon, "/", 1) && !ecore_file_exists(desktop->icon)) { - clamp = (4 * round((double)ic->inst->size/4)); + clamp = MAX((4 * round((double)ic->inst->size/4)), 8); path = efreet_icon_path_find(e_config->icon_theme, desktop->icon, clamp); if (!path) {