fix event count issue with feeding hold from callback

SVN revision: 47364
This commit is contained in:
Carsten Haitzler 2010-03-22 07:04:04 +00:00
parent f2b1114521
commit 264c2d5b1d
2 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,8 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
Evas_Button_Flags flags = EVAS_BUTTON_NONE;
Evas *e;
if (obj->last_event == _evas_event_counter) return ;
if (obj->last_event == _evas_event_counter) return;
obj->last_event = _evas_event_counter;
if (obj->delete_me) return;

View File

@ -1469,6 +1469,8 @@ evas_event_feed_hold(Evas *e, int hold, unsigned int timestamp, const void *data
}
if (copy) copy = eina_list_free(copy);
_evas_unwalk(e);
_evas_object_event_new();
}
/**