summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-02-20 18:14:07 +0900
committerHwanKyu Jhun <h.jhun@samsung.com>2017-02-21 20:00:49 -0800
commit94046afc220878c2567ee92e9a24f2101af781b1 (patch)
tree18b44526bde6dc467e3c72ef33a4c1569d5a484d
parent49019cdc06f443428b3c6d7d273b4aa4a0c28011 (diff)
downloadapp-core-94046afc220878c2567ee92e9a24f2101af781b1.tar.gz
app-core-94046afc220878c2567ee92e9a24f2101af781b1.tar.bz2
app-core-94046afc220878c2567ee92e9a24f2101af781b1.zip
Add exception handlings about app group
Change-Id: Ia6a6d4e8d7b5a9f75172b24a7d70225514277a20 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--src/appcore-efl.c4
-rw-r--r--src/ui_base/appcore_ui_base.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/appcore-efl.c b/src/appcore-efl.c
index aca08fe..46294a1 100644
--- a/src/appcore-efl.c
+++ b/src/appcore-efl.c
@@ -634,8 +634,8 @@ static Eina_Bool __show_cb(void *data, int type, void *event)
else
__update_win((unsigned int)ev->win, (unsigned int)ev->data[0], FALSE);
-
- appcore_group_attach();
+ if (ev->data[0] != 0)
+ appcore_group_attach();
return ECORE_CALLBACK_RENEW;
}
diff --git a/src/ui_base/appcore_ui_base.c b/src/ui_base/appcore_ui_base.c
index baf80cd..b681d78 100644
--- a/src/ui_base/appcore_ui_base.c
+++ b/src/ui_base/appcore_ui_base.c
@@ -599,7 +599,9 @@ EXPORT_API void appcore_ui_base_window_on_show(int type, void *event)
__add_win((unsigned int)ev->win, (unsigned int)ev->data[0]);
else
__update_win((unsigned int)ev->win, (unsigned int)ev->data[0], FALSE);
- __group_attach();
+
+ if (ev->data[0] != 0)
+ __group_attach();
}
static bool __check_visible(void)