summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-08-17 17:29:44 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-08-17 17:29:50 +0900
commit31591273f2f3ae1d6e794fc7bb9c650dd7146491 (patch)
tree7830e7dfdfed6156a04b2425dd6b5a59a7b3c3a8
parent7af8a44ae81cf8204a77a8390e8c0b0aed27ff19 (diff)
downloadappcore-watch-31591273f2f3ae1d6e794fc7bb9c650dd7146491.tar.gz
appcore-watch-31591273f2f3ae1d6e794fc7bb9c650dd7146491.tar.bz2
appcore-watch-31591273f2f3ae1d6e794fc7bb9c650dd7146491.zip
Revert "Set event filter to ignore mouse move event"
This reverts commit 17e1b5efb137aee06a3c5b8e2e007840fd6ff4c1. Change-Id: I62d997f4115a1461cc0943bbdd5b1a60926365f3 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-xsrc/watch_app_main.c7
1 files changed, 1 insertions, 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());