summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_hover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_hover.c')
-rw-r--r--src/lib/elementary/elm_hover.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c
index 0bb2f5e..6b406e0 100644
--- a/src/lib/elementary/elm_hover.c
+++ b/src/lib/elementary/elm_hover.c
@@ -328,7 +328,7 @@ _elm_hover_elm_layout_sizing_eval(Eo *obj, Elm_Hover_Data *sd)
328 if (efl_isa(sd->parent, EFL_UI_WIN_CLASS)) 328 if (efl_isa(sd->parent, EFL_UI_WIN_CLASS))
329 { 329 {
330 if (efl_canvas_object_is_frame_object_get(obj)) 330 if (efl_canvas_object_is_frame_object_get(obj))
331 efl_gfx_position_get(obj, &x, &y); 331 evas_object_geometry_get(obj, &x, &y, NULL, NULL);
332 else 332 else
333 { 333 {
334 x = 0; 334 x = 0;
@@ -631,12 +631,12 @@ _elm_hover_efl_canvas_group_group_del(Eo *obj, Elm_Hover_Data *sd)
631} 631}
632 632
633EOLIAN static void 633EOLIAN static void
634_elm_hover_efl_gfx_position_set(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Evas_Coord x, Evas_Coord y) 634_elm_hover_efl_gfx_position_set(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Eina_Position2D pos)
635{ 635{
636 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 636 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
637 return; 637 return;
638 638
639 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 639 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
640 640
641 elm_layout_sizing_eval(obj); 641 elm_layout_sizing_eval(obj);
642} 642}