discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=84a58aa0049e503011330fa7fc43de4aecef37bc

commit 84a58aa0049e503011330fa7fc43de4aecef37bc
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 25 14:47:05 2017 -0400

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

-- 


Reply via email to