forked from enlightenment/efl
Fix an issue where the button click is not correctly tracked.
SVN revision: 27507
This commit is contained in:
parent
7c357ef3fe
commit
11a8412ea3
|
@ -176,11 +176,12 @@ _edje_mouse_up_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
|||
}
|
||||
if ((rp->still_in) && (rp->clicked_button == ev->button))
|
||||
{
|
||||
rp->clicked_button = 0;
|
||||
rp->still_in = 0;
|
||||
snprintf(buf, sizeof(buf), "mouse,clicked,%i", ev->button);
|
||||
_edje_emit(ed, buf, rp->part->name);
|
||||
}
|
||||
rp->clicked_button = 0;
|
||||
rp->still_in = 0;
|
||||
|
||||
// _edje_recalc(ed);
|
||||
_edje_thaw(ed);
|
||||
_edje_unref(ed);
|
||||
|
|
Loading…
Reference in New Issue