diff options
author | Geunsun, Lee <gs86.lee@samsung.com> | 2016-11-11 18:31:08 +0900 |
---|---|---|
committer | Geunsun, Lee <gs86.lee@samsung.com> | 2016-11-11 18:31:08 +0900 |
commit | 85f7a90b0646dcf35b06776657749df2bbe19717 (patch) | |
tree | c099f3a2a72c54820eb2d788768ea5c6e4865f5e | |
parent | 0024a760c11f801596fba1cac529c5b862faff68 (diff) | |
download | w3-home-85f7a90b0646dcf35b06776657749df2bbe19717.tar.gz w3-home-85f7a90b0646dcf35b06776657749df2bbe19717.tar.bz2 w3-home-85f7a90b0646dcf35b06776657749df2bbe19717.zip |
Remove code launching w-indicator
Change-Id: Ia45e7ad7ec6c95afb7f352e26d7aafc3368bc46c
-rwxr-xr-x | home/src/layout.c | 19 | ||||
-rw-r--r-- | home/src/win.c | 5 |
2 files changed, 14 insertions, 10 deletions
diff --git a/home/src/layout.c b/home/src/layout.c index 5993b8f..f929674 100755 --- a/home/src/layout.c +++ b/home/src/layout.c @@ -337,7 +337,8 @@ static void _up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) } -/* + +#if 0 static void _bezel_up_cb(void *data) { Evas_Object *layout = data; @@ -380,7 +381,7 @@ static void _bezel_up_cb(void *data) apps_main_show_count_add(); apps_main_launch(APPS_LAUNCH_SHOW); } -*/ + static void _bezel_down_cb(void *data) { Evas_Object *layout = data; @@ -409,6 +410,7 @@ static void _bezel_down_cb(void *data) _D("aul_launch_app: %s(%d)", "org.tizen.windicator", pid); } } +#endif @@ -820,19 +822,18 @@ HAPI Evas_Object *layout_create(Evas_Object *win) if (W_HOME_ERROR_NONE != main_register_cb(APP_STATE_RESET, _reset_result_cb, layout)) { _E("Cannot register the reset callback"); } -/* + +#if 0 if (W_HOME_ERROR_NONE != gesture_register_cb(BEZEL_UP, _bezel_up_cb, layout)) { _E("Cannot register the gesture callback"); } -*/ if (W_HOME_ERROR_NONE != gesture_register_cb(BEZEL_DOWN, _bezel_down_cb, layout)) { _E("Cannot register the gesture callback"); } -/* if (W_HOME_ERROR_NONE != key_register_cb(KEY_TYPE_BEZEL_UP, _bezel_up_key_cb, layout)) { _E("Cannot register the key callback"); } -*/ +#endif layout_add_mouse_cb(layout); @@ -948,9 +949,11 @@ HAPI void layout_destroy(Evas_Object *win) main_unregister_cb(APP_STATE_PAUSE, _pause_result_cb); main_unregister_cb(APP_STATE_RESUME, _resume_result_cb); main_unregister_cb(APP_STATE_RESET, _reset_result_cb); -/* gesture_unregister_cb(BEZEL_UP, _bezel_up_cb);*/ +#if 0 + gesture_unregister_cb(BEZEL_UP, _bezel_up_cb); gesture_unregister_cb(BEZEL_DOWN, _bezel_down_cb); -/* key_unregister_cb(KEY_TYPE_BEZEL_UP, _bezel_up_key_cb);*/ + key_unregister_cb(KEY_TYPE_BEZEL_UP, _bezel_up_key_cb); +#endif key_unregister_cb(KEY_TYPE_HOME, _home_key_cb); key_unregister_cb(KEY_TYPE_BACK, _back_key_cb); diff --git a/home/src/win.c b/home/src/win.c index f182698..7d43756 100644 --- a/home/src/win.c +++ b/home/src/win.c @@ -99,8 +99,9 @@ HAPI Evas_Object *win_create(const char *name) elm_win_title_set(win, name); elm_win_borderless_set(win, EINA_TRUE); elm_win_alpha_set(win, EINA_FALSE); - elm_win_indicator_mode_set(win, ELM_WIN_INDICATOR_HIDE); - elm_win_indicator_opacity_set(win, ELM_WIN_INDICATOR_TRANSPARENT); + elm_win_indicator_mode_set(win, ELM_WIN_INDICATOR_SHOW); + elm_win_indicator_opacity_set(win, ELM_WIN_INDICATOR_OPAQUE); + elm_win_aux_hint_add(win, "wm.policy.win.gesture.disable", "1"); //Global gesture disable #ifdef BOOT_OPTIMIZATION /* Set available rotations */ |