Enlightenment SVN wrote:
> Log:
>   Remove a segfault when a border has been closed before the drop actually 
> happened (maybe display a notification to user?)

Isn't it better if the closed border aborts the drag?

Sebastian

>   
> 
> Author:       illogict
> Date:         2008-10-05 10:42:50 -0700 (Sun, 05 Oct 2008)
> New Revision: 36453
> 
> Modified:
>   trunk/e/src/modules/pager/e_mod_main.c 
> 
> Modified: trunk/e/src/modules/pager/e_mod_main.c
> ===================================================================
> --- trunk/e/src/modules/pager/e_mod_main.c    2008-10-05 17:34:41 UTC (rev 
> 36452)
> +++ trunk/e/src/modules/pager/e_mod_main.c    2008-10-05 17:42:50 UTC (rev 
> 36453)
> @@ -2102,6 +2102,7 @@
>       else if (!strcmp(type, "enlightenment/border"))
>         {
>            bd = ev->data;
> +          if (e_object_is_del(E_OBJECT(bd))) goto done;
>            e_layout_coord_virtual_to_canvas(pd->o_layout, bd->x, bd->y, &wx, 
> &wy);
>            e_layout_coord_virtual_to_canvas(pd->o_layout, bd->x + bd->w, 
> bd->y + bd->h, &wx2, &wy2);
>            dx = (wx - wx2) / 2;
> @@ -2131,6 +2132,7 @@
>         }
>       }
>  
> +done:
>     for (l = p->desks; l && p->active_drop_pd; l = l->next)
>       {
>       pd = l->data;
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-svn mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to