Fix bug about updating window information 76/108076/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122128 accepted/tizen/3.0.m2/tv/20170104.122350 accepted/tizen/3.0.m2/wearable/20170104.122730 accepted/tizen/3.0/common/20170103.172727 accepted/tizen/3.0/ivi/20170103.154517 accepted/tizen/3.0/mobile/20170103.154427 accepted/tizen/3.0/tv/20170103.154444 accepted/tizen/3.0/wearable/20170103.154459 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20170103.035823
authorJunghoon Park <jh9216.park@samsung.com>
Tue, 3 Jan 2017 01:25:44 +0000 (10:25 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Tue, 3 Jan 2017 01:25:44 +0000 (10:25 +0900)
- 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 <jh9216.park@samsung.com>
src/appcore-efl.c

index 81bda7e..f0161b3 100644 (file)
@@ -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