On Mon, Jun 29, 2009 at 3:19 AM, Vincent Francois<vincentfrancois....@gmail.com> wrote: > On Mon, 29 Jun 2009 03:02:43 +0200 > Vincent Francois <vincentfrancois....@gmail.com> wrote: >> First let me introduce myself, my name is Vincent. >> >> I am working on a project basis as the Xlib library. >> >> For the graphical appearance of the application I use the Edje >> library. >> >> At the beginning of the project we used Ecore_Evas to integrate Edje >> to the application, but when the extensive use of the >> XReparentWindow(), we notice any problems with the background of the >> newly integrated window (reparent window). >> >> My problem is that I can not send mouse events to Evas, the GUI Edje >> not reacting. >> >> The only way I found to react Edje is : >> >> edje_object_signal_emit(evas_object, "the_event", "the_source"); >> edje_object_message_signal_process(evas_object); >> evas_render(evas); >> XClearArea(display, win.id, win.x, win.y, win.w, win.h, False); >> >> But this greatly limits the use of Edje ... >> >> I analyzed the source code of Ecore_Evas & Ecore_X, I noticed the use >> of : >> >> evas_event_feed_mouse_in(); >> evas_event_feed_mouse_move(); >> evas_async_events_process(); >> >> I tried to use these functions, but this has nothing. >> >> Please help me :) > > I just want to add that the application uses mainly the Xlib window > management. The acquisition of the mouse and other events is through > the XNextEvent(), the use of Ecore_Evas is banned.
With or without Ecore_Evas someone need to feed Evas with X events. if you use the EFL and X11, the events are catched with Ecore_X/xlib/ecore_x_events.c, queued using Ecore_Input and then feeded by Ecore_Evas to Evas. Most of the current code to feed Evas is currently inside Ecore_Input/ecore_input.c. But I must say I don't really understand what you want to do, and what limitation of Ecore_Evas prevents you from using it. Perhaps if you provide sample code it would be easier to help you. -- Cedric BAIL ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel