Fix current event pointer when walking filters
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Jun 2010 02:45:47 +0000 (02:45 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Jun 2010 02:45:47 +0000 (02:45 +0000)
commit80011b8b48b4d720ed9dc6e5f5ca1ecdb159834d
tree71a071a56935597106a54d311dab67e70871030a
parentf26637b48fb20295bdff5ca2c422b5fa99cbbbe0
Fix current event pointer when walking filters

When walking the filters' list, using event_current might screw a
recursive main loop that had to process filters *and* events on the
first iteration. Thus, use a new pointer to mark the current event being
treated when walking filters' list.

Tests for this one is difficult. I'll try to think about a test later.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_events.c