yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=24c53a37279640172a98b0cc402713bc51fec57e

commit 24c53a37279640172a98b0cc402713bc51fec57e
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Thu Sep 3 13:52:56 2015 +0300

    Fix drop coordinates when drag new window from factory
---
 src/bin/gui/editor.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 9282bc6..1b4b40d 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -2470,12 +2470,12 @@ _drop_target_pos(void *data, Eo *obj, Evas_Coord x, 
Evas_Coord y, Elm_Xdnd_Actio
         return;
      }
 
-   /* Avoid possiblity to drop window into container. */
-   if (!strcmp(dnd_drag_data_get(), DB_DEF_WIN_CLASS)) return;
-
    di->pointer_x = x;
    di->pointer_y = y;
 
+   /* Avoid possiblity to drop window into container. */
+   if (!strcmp(dnd_drag_data_get(), DB_DEF_WIN_CLASS)) return;
+
    if (!di->packed)
      {
         eo_do(di->eo_cur, efl_gfx_visible_set(EINA_FALSE));

-- 


Reply via email to