"clicked" signals now emitted in both of the following cases:
(1) mouse down move outside part move back in mouse up [and more importantly] (2) mouse down mouse up AFTER: mouse down move outside part mouse up (this previously resulted in click signals no longer being emitted). SVN revision: 7091
This commit is contained in:
parent
1e190a8ac4
commit
5b509159fd
|
@ -93,6 +93,16 @@ _edje_mouse_move_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
|||
(ev->cur.canvas.x >= (x + w)) || (ev->cur.canvas.y >= (y + h)))
|
||||
rp->still_in = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
double x, y, w, h;
|
||||
|
||||
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
||||
if ((ev->cur.canvas.x >= x) && (ev->cur.canvas.y >= y) &&
|
||||
(ev->cur.canvas.x < (x + w)) && (ev->cur.canvas.y < (y + h)))
|
||||
rp->still_in = 1;
|
||||
}
|
||||
|
||||
_edje_emit(ed, "mouse,move", rp->part->name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue