From: Junghoon Park Date: Tue, 3 Jan 2017 01:25:44 +0000 (+0900) Subject: Fix bug about updating window information X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170104.122128^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=39cbcf2218aafa82ccdc9cb460cc99ef06173f05;p=platform%2Fcore%2Fappfw%2Fapp-core.git Fix bug about updating window information - Because the main window is the first node, the sequence for nodes shound not be changed even though it is updated Change-Id: Idd6283d58f61d848e4be09e0808c4af044595f42 Signed-off-by: Junghoon Park --- diff --git a/src/appcore-efl.c b/src/appcore-efl.c index 81bda7e..f0161b3 100644 --- a/src/appcore-efl.c +++ b/src/appcore-efl.c @@ -684,14 +684,10 @@ static bool __update_win(unsigned int win, bool bfobscured) return FALSE; } - g_winnode_list = g_slist_remove_link(g_winnode_list, f); - t = (struct win_node *)f->data; t->win = win; t->bfobscured = bfobscured; - g_winnode_list = g_slist_concat(g_winnode_list, f); - return TRUE; } #elif defined(WAYLAND) @@ -710,16 +706,12 @@ static bool __update_win(unsigned int win, unsigned int surf, bool bfobscured) return FALSE; } - g_winnode_list = g_slist_remove_link(g_winnode_list, f); - t = (struct win_node *)f->data; t->win = win; if (surf != 0) t->surf = surf; t->bfobscured = bfobscured; - g_winnode_list = g_slist_concat(g_winnode_list, f); - return TRUE; } #endif