forked from enlightenment/efl
edje_program: added signal "focus,part,out" when focus is discarded
Summary: @fix Reviewers: cedric, seoz, Hermet Reviewed By: Hermet Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1415
This commit is contained in:
parent
6cbadc9735
commit
1bbf15899b
|
@ -898,7 +898,12 @@ low_mem_current:
|
|||
break;
|
||||
case EDJE_ACTION_TYPE_FOCUS_SET:
|
||||
if (!pr->targets)
|
||||
ed->focused_part = NULL;
|
||||
{
|
||||
if (ed->focused_part)
|
||||
_edje_emit(ed, "focus,part,out",
|
||||
ed->focused_part->part->name);
|
||||
ed->focused_part = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
EINA_LIST_FOREACH(pr->targets, l, pt)
|
||||
|
|
Loading…
Reference in New Issue