From 31591273f2f3ae1d6e794fc7bb9c650dd7146491 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 17 Aug 2017 17:29:44 +0900 Subject: [PATCH] Revert "Set event filter to ignore mouse move event" This reverts commit 17e1b5efb137aee06a3c5b8e2e007840fd6ff4c1. Change-Id: I62d997f4115a1461cc0943bbdd5b1a60926365f3 Signed-off-by: Hwankyu Jhun --- src/watch_app_main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/watch_app_main.c b/src/watch_app_main.c index b7423c3..0737afe 100755 --- a/src/watch_app_main.c +++ b/src/watch_app_main.c @@ -707,7 +707,6 @@ EXPORT_API int watch_app_get_elm_win(Evas_Object **win) Evas_Object *ret_win; struct wl_surface *surface; Ecore_Wl_Window *wl_win; - screen_connector_provider_h remote; char buffer[256]; if (win == NULL) @@ -724,11 +723,7 @@ EXPORT_API int watch_app_get_elm_win(Evas_Object **win) _E("failed to get surface"); surface = ecore_wl_window_surface_get(wl_win); - remote = screen_connector_provider_create(watch_core_get_appid(), - surface); - screen_connector_provider_set_event_filter(remote, - SCREEN_CONNECTOR_INPUT_TYPE_MOUSE_MOVE_X_Y | - SCREEN_CONNECTOR_INPUT_TYPE_TOUCH_MOVE_X_Y); + screen_connector_provider_remote_enable(watch_core_get_appid(), surface); /* Set data to use in accessibility */ snprintf(buffer, sizeof(buffer), "%s:%d", watch_core_get_appid(), getpid()); -- 2.7.4