aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-03-09 19:58:36 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-03-15 15:39:12 +0100
commit844854d3e864b2f35dc57c57265ea58fe5a1dd75 (patch)
tree834fb415fdbed41bf220288b9c32be48cfc2399b
parentelm_genlist: performe elm_item_focus_set (diff)
downloadefl-844854d3e864b2f35dc57c57265ea58fe5a1dd75.tar.gz
efl_ui_focus_manager_calc: add onedirection to dirty
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index f818c39600..4b2bb25480 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1010,10 +1010,15 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_
Node *partner;
Eina_List *n;
- EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).partners, n, partner)
- {
- dirty_add(obj, pd, partner);
+#define MAKE_LIST_DIRTY(node, field) \
+ EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).field, n, partner) \
+ { \
+ dirty_add(obj, pd, partner); \
}
+
+ MAKE_LIST_DIRTY(node, partners)
+ MAKE_LIST_DIRTY(node, one_direction)
+ MAKE_LIST_DIRTY(node, cleanup_nodes)
}
//remove from the dirty parts