efl_ui_focus_manager: calculate new widgets undependend from dirty state
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 22 Oct 2018 12:10:41 +0000 (14:10 +0200)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 20 Nov 2018 07:10:39 +0000 (16:10 +0900)
This fixes T7397

Differential Revision: https://phab.enlightenment.org/D7179

src/lib/elementary/efl_ui_focus_manager_calc.c

index df8834a..5a8456b 100644 (file)
@@ -400,13 +400,8 @@ dirty_flush_node(Efl_Ui_Focus_Manager *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Cal
 static void
 dirty_flush(Efl_Ui_Focus_Manager *obj, Efl_Ui_Focus_Manager_Calc_Data *pd, Node *node)
 {
-   if (!node->on_list) return;
-
    efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE, NULL);
 
-   pd->dirty = eina_list_remove(pd->dirty, node);
-   node->on_list = EINA_FALSE;
-
    dirty_flush_node(obj, pd, node);
 }