e_pointer: substitute e_input APIs for ecore_drm APIs 60/152960/1
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 27 Sep 2017 11:20:21 +0000 (20:20 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 27 Sep 2017 11:20:21 +0000 (20:20 +0900)
Change-Id: Ie34f8c68a9c36e1ad6c2e0be9af0e49c500b0922
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_pointer.c

index 2dbec7db459436322bc61aec58ec1762ee4c9445..bad6c569cb3e63b20c7247437c6f32a8bdc3e3a2 100644 (file)
@@ -1,5 +1,4 @@
 #include "e.h"
-#include <Ecore_Drm.h>
 
 /* local variables */
 static Eina_List *_ptrs = NULL;
@@ -327,7 +326,7 @@ E_API void
 e_pointer_rotation_set(E_Pointer *ptr, int rotation)
 {
    const Eina_List *l;
-   Ecore_Drm_Device *dev;
+   E_Input_Device *dev;
 
    if (ptr->rotation == rotation) return;
 
@@ -336,8 +335,8 @@ e_pointer_rotation_set(E_Pointer *ptr, int rotation)
    _e_pointer_position_update(ptr);
    _e_pointer_rotation_apply(ptr);
 
-   EINA_LIST_FOREACH(ecore_drm_devices_get(), l, dev)
-     ecore_drm_device_pointer_rotation_set(dev, rotation);
+   EINA_LIST_FOREACH(e_input_devices_get(), l, dev)
+     e_input_device_pointer_rotation_set(dev, rotation);
 
    /* ptr->rotation shouldn't include the screen rotation value */
    if (e_comp->e_comp_screen->rotation > 0)