aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_position_manager_common.h
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-17 15:59:54 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-21 07:50:52 +0200
commit58c3e676e804d147669ed93abf35a2709cc3d515 (patch)
tree4630370effc97ba752342bb5c9c0e9f77a72c7cb /src/lib/elementary/efl_ui_position_manager_common.h
parentefl_ui_position_manager_list: make it handle group items (diff)
downloadefl-58c3e676e804d147669ed93abf35a2709cc3d515.tar.gz
efl_ui_position_manager_common: fix buffer_id
the buffer was accessed with the wrong id, buffer_id should be used. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9607
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_position_manager_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_position_manager_common.h b/src/lib/elementary/efl_ui_position_manager_common.h
index 9c97f2832f..e74e6d48f2 100644
--- a/src/lib/elementary/efl_ui_position_manager_common.h
+++ b/src/lib/elementary/efl_ui_position_manager_common.h
@@ -44,7 +44,7 @@ vis_change_segment(Api_Callback *cb, int a, int b, Eina_Bool flag)
{
EINA_SAFETY_ON_FALSE_RETURN(_fill_buffer(cb, MIN(a,b), len, NULL, data) >= 0);
}
- ent = data[i - MIN(a,b)].entity;
+ ent = data[buffer_id].entity;
if (ent && !flag && (efl_ui_focus_object_focus_get(ent) || efl_ui_focus_object_child_focus_get(ent)))
{
//we should not make focused object invisible, rather move it to some parking lot