summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Wu <zhiwen.wu@linux.intel.com>2014-01-27 07:15:23 (GMT)
committerJuan Zhao <juanzhao@review.tizen.org>2014-01-27 08:17:24 (GMT)
commitcf6dcc11316f1a1e474128c5ccb086b72ef3b5ee (patch)
tree46dbaa8292cf4f796cd64f626ac6826bf1e54597
parent798c1ebbec0ef40372715937028e75528e069800 (diff)
downloadweston-mobile-shell-accepted/tizen/mobile.zip
weston-mobile-shell-accepted/tizen/mobile.tar.gz
weston-mobile-shell-accepted/tizen/mobile.tar.bz2
Mobile shell will hide the UI of current task and make the task run background, once "HOME" key is pressed. At next time pressing the app icon, the background task will go back. To implement this behavior, some APIs should be added into app-core. Before that app-core APIs done, "hide and un-hide task" will not work. So disable "HOME" key temporarily to avoid confusion. Change-Id: I15a61e7216633b33306f6938bec42b9f8cd3d4ee Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
-rw-r--r--src/mobile-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mobile-shell.c b/src/mobile-shell.c
index 8e9aef7..7e7aee6 100644
--- a/src/mobile-shell.c
+++ b/src/mobile-shell.c
@@ -1423,8 +1423,10 @@ module_init(struct weston_compositor *compositor, int *argc, char *argv[])
weston_compositor_add_key_binding(compositor, KEY_TIZEN_RETURN, 0,
force_kill_binding, shell);
+#if 0
weston_compositor_add_key_binding(compositor, KEY_TIZEN_HOME, 0,
gohome, shell);
+#endif
weston_layer_init(&shell->indicator_layer,
&compositor->cursor_layer.link);