forked from enlightenment/efl
Revert "bla" - Wasn't supposed to go in yet.
This reverts commit 60711. SVN revision: 60713
This commit is contained in:
parent
e85f91b3a3
commit
df97b91f09
|
@ -204,6 +204,7 @@ EAPI void
|
||||||
evas_event_feed_mouse_down(Evas *e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
|
evas_event_feed_mouse_down(Evas *e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
|
||||||
{
|
{
|
||||||
Eina_List *l, *copy;
|
Eina_List *l, *copy;
|
||||||
|
Eina_List *ins;
|
||||||
Evas_Event_Mouse_Down ev;
|
Evas_Event_Mouse_Down ev;
|
||||||
Evas_Object *obj;
|
Evas_Object *obj;
|
||||||
|
|
||||||
|
@ -233,17 +234,11 @@ evas_event_feed_mouse_down(Evas *e, int b, Evas_Button_Flags flags, unsigned int
|
||||||
ev.event_flags = EVAS_EVENT_FLAG_NONE;
|
ev.event_flags = EVAS_EVENT_FLAG_NONE;
|
||||||
|
|
||||||
_evas_walk(e);
|
_evas_walk(e);
|
||||||
/* If this is the first finger down, i.e no other fingers pressed,
|
|
||||||
* get a new event list, otherwise, keep the current grabbed list. */
|
|
||||||
if (e->pointer.mouse_grabbed == 0)
|
|
||||||
{
|
|
||||||
Eina_List *ins;
|
|
||||||
ins = evas_event_objects_event_list(e, NULL, e->pointer.x, e->pointer.y);
|
ins = evas_event_objects_event_list(e, NULL, e->pointer.x, e->pointer.y);
|
||||||
/* free our old list of ins */
|
/* free our old list of ins */
|
||||||
e->pointer.object.in = eina_list_free(e->pointer.object.in);
|
e->pointer.object.in = eina_list_free(e->pointer.object.in);
|
||||||
/* and set up the new one */
|
/* and set up the new one */
|
||||||
e->pointer.object.in = ins;
|
e->pointer.object.in = ins;
|
||||||
}
|
|
||||||
copy = evas_event_list_copy(e->pointer.object.in);
|
copy = evas_event_list_copy(e->pointer.object.in);
|
||||||
EINA_LIST_FOREACH(copy, l, obj)
|
EINA_LIST_FOREACH(copy, l, obj)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue