This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efm2.
View the commit online.
commit 46702c12da123f2f44bb127c16dd3c149a625f69
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Tue Aug 22 08:37:14 2023 +0100
set icon size only if not already set...
---
src/efm/efm.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/efm/efm.c b/src/efm/efm.c
index cca71ef..3a6c29a 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -968,8 +968,11 @@ _relayout_icons(Smart_Data *sd)
{ // icon is at urrent x,y
icon->geom.x = x;
icon->geom.y = y;
- icon->geom.w = sd->icon_min_w;
- icon->geom.h = sd->icon_min_h;
+ if (icon->geom.w == -9999)
+ {
+ icon->geom.w = sd->icon_min_w;
+ icon->geom.h = sd->icon_min_h;
+ }
x += icon->geom.w;
if ((x + icon->geom.w) > sd->geom.w)
{ // if next icon over end of row, start a new row
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.