summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-03-13 08:07:07 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-03-13 08:07:07 +0000
commit3702dceb16f8b227e3b5f1487c6454dc0569c4a7 (patch)
treecaa5f8fa7a675cda172d82982a25a6eb64494b6a
parent4ac3a18827956ed09debdb08020092d0b267ddd3 (diff)
downloadenlightenment-3702dceb16f8b227e3b5f1487c6454dc0569c4a7.tar.gz
fix dnd visuals when using multiple monitors
-rw-r--r--src/bin/e_dnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index ba7ad5a7c1..42e780d4b7 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -140,7 +140,8 @@ e_drag_new(E_Container *container, int x, int y,
e_object_ref(E_OBJECT(drag->container));
drag->evas = e_comp_get(drag)->evas;
- drag->pop = e_popup_new(e_zone_current_get(container), x, y, drag->w, drag->h);
+ /* use first zone to preserve location coords */
+ drag->pop = e_popup_new(eina_list_data_get(container->zones), x, y, drag->w, drag->h);
e_popup_name_set(drag->pop, "E Drag");
e_popup_layer_set(drag->pop, E_COMP_CANVAS_LAYER_POPUP, 0);