summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 3de46684ba..a04797d62c 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -792,7 +792,7 @@ _ecore_evas_drm_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, i
792 ee->prop.cursor.hot.x = hot_x; 792 ee->prop.cursor.hot.x = hot_x;
793 ee->prop.cursor.hot.y = hot_y; 793 ee->prop.cursor.hot.y = hot_y;
794 794
795 evas_pointer_output_xy_get(ee->evas, &x, &y); 795 ecore_evas_pointer_xy_get(ee, &x, &y);
796 796
797 if (obj != old) 797 if (obj != old)
798 { 798 {
@@ -1033,9 +1033,8 @@ _ecore_evas_drm_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, in
1033} 1033}
1034 1034
1035static void 1035static void
1036_ecore_evas_drm_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y) 1036_ecore_evas_drm_pointer_xy_get(const Ecore_Evas *ee EINA_UNUSED, Evas_Coord *x, Evas_Coord *y)
1037{ 1037{
1038 /* FIXME: This should probably be using an ecore_drm_input function to 1038 /* get pointer position from input */
1039 * return the current mouse position */ 1039 ecore_drm_device_pointer_xy_get(dev, x, y);
1040 evas_pointer_output_xy_get(ee->evas, x, y);
1041} 1040}