summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-09-16 18:05:07 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-10-04 09:37:14 -0400
commit3b2a1fa456cff271fb1456a9d53dcc214c9c3456 (patch)
tree2c131fd54fc7b09186824ff15f38330488dbd1e4
parent590a20fdd9b8f41c2c309a7211c9e8b9d81edf7c (diff)
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 1a982fd72afc0aebaea5fd10f9acd08841291d60
-rw-r--r--src/bin/e_dnd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 629699606..5e799f2cb 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -835,6 +835,8 @@ _dnd_top_window_at_xy_get(Evas_Coord x, Evas_Coord y)
835 Eina_List *objs, *l; 835 Eina_List *objs, *l;
836 Evas_Object *o; 836 Evas_Object *o;
837 837
838 if (_drag_current->type == E_DRAG_INTERNAL)
839 return e_comp_top_window_at_xy_get(x, y);
838 objs = evas_objects_at_xy_get(e_comp->evas, x, y, 0, 0); 840 objs = evas_objects_at_xy_get(e_comp->evas, x, y, 0, 0);
839 if (!objs) return e_comp->ee_win; 841 if (!objs) return e_comp->ee_win;
840 EINA_LIST_FOREACH(objs, l, o) 842 EINA_LIST_FOREACH(objs, l, o)