summaryrefslogtreecommitdiff
path: root/home/src/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'home/src/layout.c')
-rwxr-xr-xhome/src/layout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/src/layout.c b/home/src/layout.c
index 9f02141..0f6e797 100755
--- a/home/src/layout.c
+++ b/home/src/layout.c
@@ -744,6 +744,9 @@ static key_cb_ret_e _back_key_cb(void *data)
Evas_Object *layout = data;
Evas_Object *scroller = NULL;
+ if (apps_is_visible()) {
+ return KEY_CB_RET_STOP;
+ }
retv_if(!layout, KEY_CB_RET_CONTINUE);
scroller = evas_object_data_get(layout, DATA_KEY_SCROLLER);
@@ -762,6 +765,9 @@ static key_cb_ret_e _home_key_cb(void *data)
Evas_Object *layout = data;
Evas_Object *scroller = NULL;
+ if (apps_is_visible()) {
+ return KEY_CB_RET_STOP;
+ }
retv_if(!layout, KEY_CB_RET_CONTINUE);
scroller = evas_object_data_get(layout, DATA_KEY_SCROLLER);