discomfitor pushed a commit to branch elementary-1.15.

http://git.enlightenment.org/core/elementary.git/commit/?id=2442cf54dc3ee8196e2621543236dc7c2390a6be

commit 2442cf54dc3ee8196e2621543236dc7c2390a6be
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 13 14:48:35 2015 -0400

    cnp: init wayland dnd handlers upon creating the first drop target
    
    previously this would only init when the app was initiating the drag,
    which would result in an app being unable to receive drags
    
    @fix
---
 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 7c08b3f..68ceb3e 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2754,6 +2754,7 @@ _wl_elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format 
format, Elm_Drag_State
         handler_drop =
           ecore_event_handler_add(ECORE_WL_EVENT_DND_DROP,
                                   _wl_dnd_drop, NULL);
+        _wl_elm_dnd_init();
      }
 
    return EINA_TRUE;

-- 


Reply via email to