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
This commit is contained in:
Mike Blumenkrantz 2015-08-13 14:48:35 -04:00
parent e69bd0ec1b
commit d343487f94
1 changed files with 1 additions and 0 deletions

View File

@ -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;