jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=259a98431ce293df56794668998a80efc80035dc
commit 259a98431ce293df56794668998a80efc80035dc Author: Thiep Ha <thie...@gmail.com> Date: Mon Jul 6 22:46:48 2015 +0300 cnp: change drag win type to ELM_WIN_DND Summary: Drag win should use ELM_WIN_DND. The drag win in _drag_start function was added when ELM_WIN_DND was not supported. Now we have ELM_WIN_DND, drag win needs to change to ELM_WIN_DND. @fix Reviewers: JackDanielZ, cedric, Hermet Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D2784 --- src/lib/elm_cnp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c index 886f2a6..08c02be 100644 --- a/src/lib/elm_cnp.c +++ b/src/lib/elm_cnp.c @@ -2175,7 +2175,7 @@ _x11_elm_drag_start(Evas_Object *obj, Elm_Sel_Format format, const char *data, (void *)(long)xwin); handler_status = ecore_event_handler_add(ECORE_X_EVENT_XDND_STATUS, _x11_dnd_status, NULL); - dragwin = elm_win_add(NULL, "Elm-Drag", ELM_WIN_UTILITY); + dragwin = elm_win_add(NULL, "Elm-Drag", ELM_WIN_DND); elm_win_alpha_set(dragwin, EINA_TRUE); elm_win_override_set(dragwin, EINA_TRUE); xdragwin = _x11_elm_widget_xwin_get(dragwin); @@ -4244,7 +4244,7 @@ _drag_anim_start(void *data) st->icons = _anim_icons_make(st->user_info.icons); if (st->user_info.createicon) { - Evas_Object *temp_win = elm_win_add(NULL, "Temp", ELM_WIN_UTILITY); + Evas_Object *temp_win = elm_win_add(NULL, "Temp", ELM_WIN_DND); Evas_Object *final_icon = st->user_info.createicon(st->user_info.createdata, temp_win, NULL, NULL); evas_object_geometry_get(final_icon, NULL, NULL, &st->final_icon_w, &st->final_icon_h); evas_object_del(final_icon); --