From 39cbcf2218aafa82ccdc9cb460cc99ef06173f05 Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Tue, 3 Jan 2017 10:25:44 +0900 Subject: [PATCH] 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 --- src/appcore-efl.c | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.7.4