From 2036ba4f2d3ed6cfeb2d5e62b2b8ea542f522e3b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 22 Feb 2013 09:21:21 +0000 Subject: [PATCH] quick fix > 1 win for dnd! :) SVN revision: 84299 --- src/lib/elm_cnp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c index be5f0b9..58b6106 100644 --- a/src/lib/elm_cnp.c +++ b/src/lib/elm_cnp.c @@ -1736,12 +1736,13 @@ _x11_elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format format, /* I love C and varargs */ (Evas_Object_Event_Cb)elm_drop_target_del, obj); + ecore_x_dnd_aware_set(xwin, EINA_TRUE); + /* TODO BUG: should handle dnd-aware per window, not just the first * window that requested it! */ /* If not the first: We're done */ if (!first) return EINA_TRUE; - ecore_x_dnd_aware_set(xwin, EINA_TRUE); cnp_debug("Adding drop target calls xwin=%#llx\n", (unsigned long long)xwin); handler_enter = ecore_event_handler_add(ECORE_X_EVENT_XDND_ENTER, -- 2.7.4