jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=6eb88658b9fdd96e04c19a0b60c4aebc3b8a9e9d

commit 6eb88658b9fdd96e04c19a0b60c4aebc3b8a9e9d
Author: Daniel Zaoui <[email protected]>
Date:   Sun Dec 14 15:36:04 2014 +0200

    DnD: fix callbacks call on many DnD operations.
    
    A leave callback is invoked on the drop target of the previous DnD
    operation, leading to inconsistency for applications.
    The state of the dropable target was not resetted during drop.
    This patch fixes that.
---
 src/lib/elm_cnp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index dcc484b..4a9eff8 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -1687,6 +1687,7 @@ found:
 
    act = _x11_dnd_action_map(drop->action);
 
+   dropable->last.in = EINA_FALSE;
    if ((!strcmp(dropable->last.type, text_uri)))
      {
         cnp_debug("We found a URI... (%scached) %s\n",

-- 


Reply via email to