On 04/04/13 04:40, Cedric BAIL - Enlightenment Git wrote:
> cedric pushed a commit to branch master.
>
> commit 54b9b19b666b8fe3b2218424172253b82a0d1e2f
> Author: Cedric BAIL <[email protected]>
> Date:   Thu Apr 4 12:36:03 2013 +0900
>
>      evas: let's not force an allocation and write for nothing.
> ---
>   src/lib/evas/canvas/evas_layer.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/src/lib/evas/canvas/evas_layer.c 
> b/src/lib/evas/canvas/evas_layer.c
> index b427b87..b2749d1 100644
> --- a/src/lib/evas/canvas/evas_layer.c
> +++ b/src/lib/evas/canvas/evas_layer.c
> @@ -23,6 +23,10 @@ evas_object_inject(Evas_Object *eo_obj EINA_UNUSED, 
> Evas_Object_Protected_Data *
>      obj->layer = lay;
>      obj->in_layer = 1;
>
> +   if (obj->cur->geometry.x == obj->layer->evas->framespace.x &&
> +       obj->cur->geometry.y == obj->layer->evas->framespace.y)
> +     return ;
> +

Umm, I know that Cows are large creatures and need space to wander 
around, but I do not think semicolons do :P

 > +     return ;

dh



>      EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
>        {
>           state_write->geometry.x = obj->layer->evas->framespace.x;
>


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to