Add exception handlings about app group 44/115544/3
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 20 Feb 2017 09:14:07 +0000 (18:14 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Wed, 22 Feb 2017 04:00:49 +0000 (20:00 -0800)
Change-Id: Ia6a6d4e8d7b5a9f75172b24a7d70225514277a20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-efl.c
src/ui_base/appcore_ui_base.c

index aca08fe219cf5e741744430d9566c108ee3251ac..46294a1518cfe3da5c6681c72aabd1cffb1edb0a 100644 (file)
@@ -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;
 }
 
index baf80cd14d5fde96fa450de4537fcf6d21b200f6..b681d7853e7391fab29106aeaa65f44260c3a1dd 100644 (file)
@@ -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)