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 476bed4061038535703dad4b9d4570490e4cb290
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Wed Jan 21 20:20:26 2026 +0000
make sure icons are brought in when selected in typebuf
---
src/efm/efm_typebuf.c | 2 ++
src/efm/efm_util.c | 21 ++++++++++++---------
src/efm/efm_util.h | 2 ++
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/src/efm/efm_typebuf.c b/src/efm/efm_typebuf.c
index a1f997d..3c3104d 100644
--- a/src/efm/efm_typebuf.c
+++ b/src/efm/efm_typebuf.c
@@ -159,6 +159,7 @@ _typebuf_complete(Smart_Data *sd)
free(s2);
_efm_sel_none(sd);
_icon_select(ic);
+ _efm_icon_bring_in(ic);
}
}
free(s);
@@ -343,4 +344,5 @@ typebuf_add(Smart_Data *sd, Evas_Event_Key_Down *ev)
evas_object_raise(sd->o_typebuf_over);
edje_object_signal_emit(sd->o_typebuf_over, "e,state,typebuf,start", "e");
elm_object_focus_set(o, EINA_TRUE);
+ _typebuf_format(sd);
}
\ No newline at end of file
diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index afe5b3b..646e2e6 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -2916,15 +2916,7 @@ _efm_sel_glob(Smart_Data *sd, const char *glob, Eina_Bool scroll)
}
else _icon_unselect(ic);
}
- if ((scroll) && (first) && (sd->o_scroller))
- {
- int ix = first->geom.x;
- int iy = first->geom.y;
- int iw = first->geom.w;
- int ih = first->geom.h;
-
- elm_scroller_region_bring_in(sd->o_scroller, ix, iy, iw, ih);
- }
+ if ((scroll) && (first) && (sd->o_scroller)) _efm_icon_bring_in(first);
}
void
@@ -2969,3 +2961,14 @@ _efm_icons_run(Smart_Data *sd, Eina_Bool last_sel)
eina_strbuf_free(strbuf);
return EINA_TRUE;
}
+
+void
+_efm_icon_bring_in(Icon *icon)
+{
+ int ix = icon->geom.x;
+ int iy = icon->geom.y;
+ int iw = icon->geom.w;
+ int ih = icon->geom.h;
+
+ elm_scroller_region_bring_in(icon->sd->o_scroller, ix, iy, iw, ih);
+}
diff --git a/src/efm/efm_util.h b/src/efm/efm_util.h
index 827b2b4..5f4cb5e 100644
--- a/src/efm/efm_util.h
+++ b/src/efm/efm_util.h
@@ -78,4 +78,6 @@ void _efm_icons_custom_xy_reset(Smart_Data *sd);
Eina_Bool _efm_icons_run(Smart_Data *sd, Eina_Bool last_sel);
+void _efm_icon_bring_in(Icon *icon);
+
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.