discomfitor pushed a commit to branch master.

commit 3702dceb16f8b227e3b5f1487c6454dc0569c4a7
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Mar 13 08:07:07 2013 +0000

    fix dnd visuals when using multiple monitors
---
 src/bin/e_dnd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index ba7ad5a..42e780d 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);

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

Reply via email to