Hi Hermet,

Thank you for commiting the proposed changes to evas_events. I`m seeing you 
haven`t
applied the changes I proposed to evas_map, without that the problem seems
to be "half fixed". We must properly handle the case when the mouse pointer has
been dragged off of evas object.

Have you seen my concerns about Evas_Event_Mouse_Move`s canvas and output 
fields?
Do you have any opinion about that?

Regards....

On Sat, Nov 10, 2012 at 04:52:00AM -0800, Enlightenment SVN wrote:
> Log:
> evas/event - add the xy origin to object when coords are transformed
>   
>   Signed-Off-By: Leandro Dorileo<[email protected]>
>   
>   
> 
> Author:       hermet
> Date:         2012-11-10 04:52:00 -0800 (Sat, 10 Nov 2012)
> New Revision: 79098
> Trac:         http://trac.enlightenment.org/e/changeset/79098
> 
> Modified:
>   trunk/efl/src/lib/evas/canvas/evas_events.c 
> trunk/evas/src/lib/canvas/evas_events.c 
> 
> Modified: trunk/efl/src/lib/evas/canvas/evas_events.c
> ===================================================================
> --- trunk/efl/src/lib/evas/canvas/evas_events.c       2012-11-10 11:41:16 UTC 
> (rev 79097)
> +++ trunk/efl/src/lib/evas/canvas/evas_events.c       2012-11-10 12:52:00 UTC 
> (rev 79098)
> @@ -22,9 +22,11 @@
>     if ((!obj->cur.usemap) || (!obj->cur.map) || (!obj->cur.map->count == 4))
>        return;
>  
> -   evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed);
> -   *x += obj->cur.geometry.x;
> -   *y += obj->cur.geometry.y;
> +   if(evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed))
> +     {
> +        *x += obj->cur.geometry.x;
> +        *y += obj->cur.geometry.y;
> +     }
>  }
>  
>  static void
> 
> Modified: trunk/evas/src/lib/canvas/evas_events.c
> ===================================================================
> --- trunk/evas/src/lib/canvas/evas_events.c   2012-11-10 11:41:16 UTC (rev 
> 79097)
> +++ trunk/evas/src/lib/canvas/evas_events.c   2012-11-10 12:52:00 UTC (rev 
> 79098)
> @@ -22,9 +22,11 @@
>     if ((!obj->cur.usemap) || (!obj->cur.map) || (!obj->cur.map->count == 4))
>        return;
>  
> -   evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed);
> -   *x += obj->cur.geometry.x;
> -   *y += obj->cur.geometry.y;
> +   if (evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed))
> +     {
> +        *x += obj->cur.geometry.x;
> +        *y += obj->cur.geometry.y;
> +     }
>  }
>  
>  static void
> 
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

-- 
Leandro Dorileo
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to