e_utils: substitute e_input APIS for ecore_evas_pointer APIs 57/152957/1
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 27 Sep 2017 11:17:34 +0000 (20:17 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 27 Sep 2017 11:17:34 +0000 (20:17 +0900)
Change-Id: Icd5839b92354c93b4f5ccc3d0b30a9610951fc64
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_utils.h

index 373ad6a8baed7aea7a5d950e587eb0bf90cb9905..3d86caebcb516972c3db4f587c6d2183c10740c7 100644 (file)
@@ -4,6 +4,8 @@
 #ifndef E_UTILS_H
 #define E_UTILS_H
 
+#include "e_input.h"
+
 #define e_util_dialog_show(title, args...) \
 { \
    char __tmpbuf[4096]; \
@@ -77,7 +79,7 @@ e_util_pointer_center(const E_Client *ec)
    if (ec->zone)
      x = ec->zone->x, y = ec->zone->y;
    if (e_config->focus_policy != E_FOCUS_CLICK)
-     ecore_evas_pointer_warp(e_comp->ee,
+     e_input_device_pointer_warp(NULL,
                              x + ec->x + (ec->w / 2),
                              y + ec->y + (ec->h / 2));
 }