slight ibar dnd optimization when checking taskbar apps for drop site

This commit is contained in:
Mike Blumenkrantz 2015-03-11 16:00:34 -04:00
parent 666da6ab83
commit 6c7cbda881
1 changed files with 3 additions and 8 deletions

View File

@ -807,16 +807,11 @@ _ibar_icon_at_coord(IBar *b, Evas_Coord x, Evas_Coord y)
{
Evas_Coord dx, dy, dw, dh;
/* block drops in the non-order section */
if (ic->not_in_order) continue;
evas_object_geometry_get(ic->o_holder, &dx, &dy, &dw, &dh);
if (E_INSIDE(x, y, dx, dy, dw, dh))
{
if (ic->not_in_order)
{
/* block drops in the non-order section */
return NULL;
}
return ic;
}
return ic;
}
return NULL;
}