always use compositor object stacking when performing internal drags

attempting to use a client window for any internal drag operation will always
yield wrong results and broken behavior

ref 1a982fd72a
This commit is contained in:
Mike Blumenkrantz 2016-09-16 18:05:07 -04:00
parent eea3bdfacf
commit f456215828
1 changed files with 2 additions and 0 deletions

View File

@ -835,6 +835,8 @@ _dnd_top_window_at_xy_get(Evas_Coord x, Evas_Coord y)
Eina_List *objs, *l;
Evas_Object *o;
if (_drag_current->type == E_DRAG_INTERNAL)
return e_comp_top_window_at_xy_get(x, y);
objs = evas_objects_at_xy_get(e_comp->evas, x, y, 0, 0);
if (!objs) return e_comp->ee_win;
EINA_LIST_FOREACH(objs, l, o)