discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=a658e4c198ad9c958f02e2574f5d451f175b5fd4
commit a658e4c198ad9c958f02e2574f5d451f175b5fd4 Author: Mike Blumenkrantz <zm...@samsung.com> Date: Wed Jan 15 18:02:08 2014 -0500 add e_drag_current_get --- src/bin/e_dnd.c | 6 ++++++ src/bin/e_dnd.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index a330f9b..e5a4697 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -161,6 +161,12 @@ e_dnd_shutdown(void) } EAPI E_Drag * +e_drag_current_get(void) +{ + return _drag_current; +} + +EAPI E_Drag * e_drag_new(E_Comp *comp, int x, int y, const char **types, unsigned int num_types, void *data, int size, diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h index f88317b..cf743e3 100644 --- a/src/bin/e_dnd.h +++ b/src/bin/e_dnd.h @@ -112,6 +112,7 @@ EINTERN int e_dnd_shutdown(void); EAPI int e_dnd_active(void); +EAPI E_Drag *e_drag_current_get(void); /* x and y are the top left coords of the object that is to be dragged */ EAPI E_Drag *e_drag_new(E_Comp *comp, int x, int y, const char **types, unsigned int num_types, --