Yes I guessed that situation.
But it smells bad if source depends on the proxies. And acutally I don't prefer to add that specific field in common mouse events structure as possible. My preferred was. set callbacks to each proxies and work separately. and source, it works itself. i.e) you wanna this maybe. source_event_callback() { if (event_source == proxy1) something_do1_for_proxy1(); else if (event_source == proxy2) someting_do2_for_proxy2(); else something_do_for_source(); something_do(); } rather than, my preferred was this... proxy1_event_call() { something_do1_for_proxy1(); set_somthing_to_source_if_required(); } proxy2_event_call() { something_do2_for_proxy2(); set_something_to_source_if_required(); } source_event_callback() { if (set_something_to_source) something_do_for_source(); something_do(); } ------------------------------------ -Regards, Hermet- -----Original Message----- From: "Leandro Dorileo"<dori...@profusion.mobi> To: "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; Cc: "Carsten Haitzler"<ras...@rasterman.com>; Sent: 2012-11-25 (일) 01:20:49 Subject: Re: [E-devel] [PATH] evas: add event source evas object Hi Hermet, Think about an use case where a registered callback must reacts differently depending on which proxy triggered the event, like: 1) an evas object gets a callback registered to it 2) proxies are created 3) proxy event propagation is enabled with evas_object_image_source_events_set 4) callback reacts differently based on which proxy triggered the event. Regards.... On Sat, Nov 24, 2012 at 08:54:34PM +0900, ChunEon Park wrote: > Btw, does it really source need to care about proxy in the events? > Doesn't it enough to add callbacks to proxy directly if you need to care something? > > > ------------------------------------ > > -Regards, Hermet- > > -----Original Message----- > From: "Leandro Dorileo"<dori...@profusion.mobi> > To: "Carsten Haitzler"<ras...@rasterman.com>; > Cc: "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; > Sent: 2012-11-18 (일) 09:49:49 > Subject: Re: [E-devel] [PATH] evas: add event source evas object > > Hi Raster, > > On Thu, Nov 15, 2012 at 02:25:38PM +0900, Carsten Haitzler wrote: > > On Tue, 13 Nov 2012 11:49:47 -0200 Leandro Dorileo <dorileo>@profusion.mobi> > > said: > > > > noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! > > > > this breaks abi. > > > > never ADD structure members in the middle of a structure - add them at the > > END... always! at least in public api's! > > > Ok, attached goes a version considering the ABI thing. Thank you for reviewing. > > > > > > > Hi, > > > > > > Attached patch introduces fields to events Evas_Event_Mouse_* structures > > > to hold the event source evas object in case of evas source events > > > propagation. > > > > > > Regards.... > > > > > > Regards.... > > > -- > Leandro Dorileo > ProFUSION embedded systems > http://profusion.mobi > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leandro Dorileo ProFUSION embedded systems http://profusion.mobi ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel