Revert "ecore_wayland: free drag source when drag leave event comes." 86/145886/2 accepted/tizen/unified/20170825.043921 submit/tizen/20170824.100259
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 24 Aug 2017 06:45:23 +0000 (06:45 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 24 Aug 2017 07:29:57 +0000 (07:29 +0000)
This reverts commit 9e68ea3b48614707d663d8df00059d7303393dc7.

Change-Id: I717b6f692fb368d66bcf643e5fc8df7f9e0f0457

src/lib/ecore_wayland/ecore_wl_dnd.c

index 4de60b8..5f7a6ac 100644 (file)
@@ -507,12 +507,6 @@ _ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device EINA_UNUSED)
    if (input->keyboard_focus)
      ev->source = input->keyboard_focus->id;
 
-   if (input->drag_source)
-     {
-        _ecore_wl_dnd_del(input->drag_source);
-        input->drag_source = NULL;
-     }
-
    ecore_event_add(ECORE_WL_EVENT_DND_LEAVE, ev, NULL, NULL);
 }