Hi all,

I'm cross-compiling EFL to blackfin, and I'm using framebuffer and tslib to
touch screen...
Some days ago I was using release version, but told me to update to trunk
version... Now I'm having some problems with touch..
I verified in the code my problem...

I put some debugs and I saw that ecore was receiving events from tslib, but
this events have not arrived in evas lib.
In the file ecore_input_evas/ecore_input_evas.c has a function called by
_ecore_event_evas_mouse_button, this function is executed and should emit
event to evas, but in the beginning of function we have follow verification:
lookup = _ecore_event_window_match(e->event_window);
if (!lookup) return ECORE_CALLBACK_RENEW;
What happened that e->event_window is NULL, so lookup var is NULL too, so
the function is returned!
For this reason the event doesn't arrive in the evas. I tried to know why
event_window was NULL...
I look up for a code that create variable e (Ecore_Event_Mouse_Button type)
and I found this file ecore_fb/ecore_fb_ts.c in the function
_ecore_fb_ts_fd_handler
and the member event_window of Ecore_Event_Mouse_Button was not setted...
I looked in the release version what was changed, and this code was very
similar...
The big difference was in this commit
http://trac.enlightenment.org/e/browser/trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c?rev=64447
the function evas_event_feed_mouse_down is no longer called in the
_ecore_evas_event_mouse_button_down function, and how the event to be
emitted depends of _ecore_event_evas_mouse_button function it doesn't
called anymore.

Regards,

-- 
Guilherme Santos
E-mail: [email protected]
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to