summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 13:23:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 13:24:26 +0900
commite9246a336b160f0f79218accfb742362eec7c7a8 (patch)
tree4d7f44c86975e591d9de4d48e5d62ba954458785
parenta484ee1df37e34222f1aca90d4bddca51b417e14 (diff)
Revert "Fix getting top object in comp canvas"
This reverts commit a4a2f6b09e88d555826a3f3b57bd8621c4b1752e. 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.
-rw-r--r--src/bin/e_comp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index eee7df320..82a2c2a75 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1485,14 +1485,12 @@ e_comp_top_window_at_xy_get(Evas_Coord x, Evas_Coord y)
1485 if (!objs) return e_comp->ee_win; 1485 if (!objs) return e_comp->ee_win;
1486 EINA_LIST_FOREACH(objs, l, o) 1486 EINA_LIST_FOREACH(objs, l, o)
1487 { 1487 {
1488 if (evas_object_repeat_events_get(o)) continue;
1489 ec = evas_object_data_get(o, "E_Client"); 1488 ec = evas_object_data_get(o, "E_Client");
1490 if (ec) 1489 if (ec)
1491 { 1490 {
1492 eina_list_free(objs); 1491 eina_list_free(objs);
1493 return e_client_util_pwin_get(ec); 1492 return e_client_util_pwin_get(ec);
1494 } 1493 }
1495 break;
1496 } 1494 }
1497 eina_list_free(objs); 1495 eina_list_free(objs);
1498 return e_comp->ee_win; 1496 return e_comp->ee_win;