backport to 1.0 ?

Vincent

On Thu, 16 Jun 2011, Enlightenment SVN wrote:

> Log:
> ecore: fix dnd for 'shaped' windows. added rect offset to 'inside' check
>
>
> Author:       jeffdameth
> Date:         2011-06-16 14:10:41 -0700 (Thu, 16 Jun 2011)
> New Revision: 60409
> Trac:         http://trac.enlightenment.org/e/changeset/60409
>
> Modified:
>  trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
>
> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window.c 2011-06-16 21:08:05 UTC 
> (rev 60408)
> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window.c 2011-06-16 21:10:41 UTC 
> (rev 60409)
> @@ -1014,8 +1014,8 @@
>      {
>         if ((x >= s->x + bx + rects[i].x) &&
>             (y >= s->y + by + rects[i].y) &&
> -            (x < (int)(s->x + bx + rects[i].width)) &&
> -            (y < (int)(s->y + by + rects[i].height)))
> +            (x < (int)(s->x + bx + rects[i].x + rects[i].width)) &&
> +            (y < (int)(s->y + by + rects[i].y + rects[i].height)))
>           {
>              inside = 1;
>              break;
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to