edje: Emit extra/seat data from programmed signal emits

Summary:
Now if we generate an event in response to an event with seat data we
automatically carry the seat data with the emitted event.

This allows something like elm,action,move,start to have seat data
attached.

NB: Since extra and seat data share the same structs, extra data such as
the data from edje_entry is similarly propagated as a side effect.
Depends on D6115

Reviewers: zmike, cedric

Reviewed By: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6116
This commit is contained in:
Derek Foreman 2018-05-08 12:26:20 -05:00
parent 1982046315
commit be7f692ea5
1 changed files with 2 additions and 2 deletions

View File

@ -865,12 +865,12 @@ low_mem_current:
Eina_Bool broadcast;
broadcast = _edje_emit_child(ed, rp, rp->part->name, pr->state, pr->state2);
_edje_emit_send(ed, broadcast, pr->state, pr->state2, NULL);
_edje_emit_send(ed, broadcast, pr->state, pr->state2, mdata);
}
}
}
else
_edje_emit(ed, pr->state, pr->state2);
_edje_emit_full_data(ed, pr->state, pr->state2, mdata);
if (_edje_block_break(ed)) goto break_prog;
// _edje_emit(ed, "program,stop", pr->name);
if (_edje_block_break(ed)) goto break_prog;