fix mouse out handler to out all objects mouse is in - right thing to

do.



SVN revision: 66699
This commit is contained in:
Carsten Haitzler 2011-12-30 15:20:15 +00:00
parent e3c2428b9b
commit 36ef335ae9
1 changed files with 2 additions and 3 deletions

View File

@ -909,8 +909,7 @@ evas_event_feed_mouse_out(Evas *e, unsigned int timestamp, const void *data)
ev.event_flags = e->default_event_flags;
_evas_walk(e);
/* if our mouse button is grabbed to any objects */
if ((0) && (e->pointer.mouse_grabbed != 0))
/* if our mouse button is inside any objects */
{
/* go thru old list of in objects */
Eina_List *l, *copy;
@ -928,7 +927,7 @@ evas_event_feed_mouse_out(Evas *e, unsigned int timestamp, const void *data)
if (!obj->delete_me)
{
if (e->events_frozen <= 0)
evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_OUT, &ev, event_id);
evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_OUT, &ev, event_id);
}
obj->mouse_grabbed = 0;
}