clamp luncher icon size to 8x8

This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:05 -04:00
parent 175c614838
commit 84a58aa004
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{