summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 21:54:55 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-19 10:51:48 +0900
commit3617053547dd130115af7c79346339ca86375679 (patch)
treeeef57d22ee5c3995d038da1e63e5ce4f77dcc8e5 /src/lib/elementary/efl_ui_win.c
parent64ebdd9c7b1646390a9774ae0a31133abc7b9a19 (diff)
win: Use Eina.Size2D for pointer position
Also rename the function for more consistency.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 86b04d4de4..d7dab7c39d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2366,10 +2366,12 @@ _efl_ui_win_efl_gfx_visible_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Bool vis)
2366 else _efl_ui_win_hide(obj, sd); 2366 else _efl_ui_win_hide(obj, sd);
2367} 2367}
2368 2368
2369EOLIAN static void 2369EOLIAN static Eina_Position2D
2370_efl_ui_win_efl_input_interface_pointer_xy_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int *x, int *y) 2370_efl_ui_win_efl_input_interface_pointer_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
2371{ 2371{
2372 evas_pointer_canvas_xy_get(sd->evas, x, y); 2372 Eina_Position2D pos;
2373 evas_pointer_canvas_xy_get(sd->evas, &pos.x, &pos.y);
2374 return pos;
2373} 2375}
2374 2376
2375EOLIAN static Eina_Bool 2377EOLIAN static Eina_Bool