summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_gengrid.c2
-rw-r--r--src/lib/elm_genlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 38063bdfb..ae05e2809 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4280,7 +4280,7 @@ _elm_gengrid_elm_widget_focus_highlight_geometry_get(Eo *obj, Elm_Gengrid_Data *
4280{ 4280{
4281 Evas_Coord ox, oy, oh, ow, item_x = 0, item_y = 0, item_w = 0, item_h = 0; 4281 Evas_Coord ox, oy, oh, ow, item_x = 0, item_y = 0, item_w = 0, item_h = 0;
4282 4282
4283 evas_object_geometry_get(obj, &ox, &oy, &ow, &oh); 4283 evas_object_geometry_get(sd->pan_obj, &ox, &oy, &ow, &oh);
4284 4284
4285 if (sd->focused_item) 4285 if (sd->focused_item)
4286 { 4286 {
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 656744820..79cfb4ebc 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7422,7 +7422,7 @@ _elm_genlist_elm_widget_focus_highlight_geometry_get(Eo *obj EINA_UNUSED, Elm_Ge
7422{ 7422{
7423 Evas_Coord ox, oy, oh, item_x = 0, item_y = 0, item_w = 0, item_h = 0; 7423 Evas_Coord ox, oy, oh, item_x = 0, item_y = 0, item_w = 0, item_h = 0;
7424 7424
7425 evas_object_geometry_get(obj, &ox, &oy, NULL, &oh); 7425 evas_object_geometry_get(sd->pan_obj, &ox, &oy, NULL, &oh);
7426 7426
7427 if (sd->focused_item) 7427 if (sd->focused_item)
7428 { 7428 {