fix event count issue with feeding hold from callback
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Mar 2010 07:04:04 +0000 (07:04 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Mar 2010 07:04:04 +0000 (07:04 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@47364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_callbacks.c
src/lib/canvas/evas_events.c

index ab27ed4..5263242 100644 (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;
index 21648e1..4821b9a 100644 (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();
 }
 
 /**