Fix an issue where the button click is not correctly tracked.

SVN revision: 27507
This commit is contained in:
metrics 2006-12-18 08:50:25 +00:00 committed by metrics
parent 7c357ef3fe
commit 11a8412ea3
1 changed files with 3 additions and 2 deletions

View File

@ -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);