Revert "Fix getting top object in comp canvas"

This reverts commit a4a2f6b09e.

No. you broke dnd AGAIN. try:

1. in X11 dnd to something that DOEs NOT accept xdnd. try xev. what e
will do is ignore the window and drop ONTO THe DESKTOP BG underneath
because it skips the window as if it were not there at all. this
involves losing files and finding them clustered on your desktop bg
where drops "diod nothing"
2. this seems to lead the the dnd hanging and not stopping on mouse
release. i need to right clikc to convince it to stop.
3. there's the case for xdnd clients that refuse the drop too - test
that!

this fixes this. try the above tests before working on this.
This commit is contained in:
Carsten Haitzler 2016-08-06 13:23:08 +09:00
parent a484ee1df3
commit e9246a336b
1 changed files with 0 additions and 2 deletions

View File

@ -1485,14 +1485,12 @@ e_comp_top_window_at_xy_get(Evas_Coord x, Evas_Coord y)
if (!objs) return e_comp->ee_win;
EINA_LIST_FOREACH(objs, l, o)
{
if (evas_object_repeat_events_get(o)) continue;
ec = evas_object_data_get(o, "E_Client");
if (ec)
{
eina_list_free(objs);
return e_client_util_pwin_get(ec);
}
break;
}
eina_list_free(objs);
return e_comp->ee_win;