summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_panel.c')
-rw-r--r--src/lib/elementary/elm_panel.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_panel.c b/src/lib/elementary/elm_panel.c
index 219315f..ba4fa2b 100644
--- a/src/lib/elementary/elm_panel.c
+++ b/src/lib/elementary/elm_panel.c
@@ -934,14 +934,13 @@ _elm_panel_efl_canvas_group_group_del(Eo *obj, Elm_Panel_Data *sd)
934} 934}
935 935
936EOLIAN static void 936EOLIAN static void
937_elm_panel_efl_gfx_position_set(Eo *obj, Elm_Panel_Data *sd, Evas_Coord x, Evas_Coord y) 937_elm_panel_efl_gfx_position_set(Eo *obj, Elm_Panel_Data *sd, Eina_Position2D pos)
938{ 938{
939 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 939 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
940 return; 940 return;
941 941
942 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 942 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
943 943 efl_gfx_position_set(sd->hit_rect, pos);
944 evas_object_move(sd->hit_rect, x, y);
945} 944}
946 945
947static void 946static void