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 7732da439afaa043fb8215c160c026d5ff0aa623
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Mon Aug 18 11:22:57 2025 +0100
viewport - account for framespace with vieport - more technically correct
---
src/efm/efm.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/efm/efm.c b/src/efm/efm.c
index 5a7756a..4a5c270 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -1171,7 +1171,7 @@ _recalc(Smart_Data *sd)
Eina_List *bl, *il;
Block *block;
Icon *icon;
- Eina_Rectangle viewport, rect;
+ Eina_Rectangle viewport, framespace, rect;
Evas *e;
int num = 0;
const char *theme_edj_file;
@@ -1179,6 +1179,10 @@ _recalc(Smart_Data *sd)
e = evas_object_evas_get(sd->o_smart);
evas_output_viewport_get(e, &(viewport.x), &(viewport.y), &(viewport.w),
&(viewport.h));
+ evas_output_framespace_get(e, &(framespace.x), &(framespace.y),
+ &(framespace.w), &(framespace.h));
+ viewport.w -= framespace.w;
+ viewport.h -= framespace.h;
theme_edj_file
= elm_theme_group_path_find(NULL, "e/fileman/default/icon/fixed");
EINA_LIST_FOREACH(sd->blocks, bl, block)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.