Reset DragWindow when dragging is finished (Accept, Cancel, Finish) 83/291383/2
authorTaehyub Kim <taehyub.kim@samsung.com>
Fri, 14 Apr 2023 05:16:52 +0000 (14:16 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Fri, 14 Apr 2023 05:17:48 +0000 (14:17 +0900)
Change-Id: Iaae6122cd94555c73429a002a54a1a46ad366f4b

dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp

index e66dc6b..1e87d87 100644 (file)
@@ -277,6 +277,10 @@ void DragAndDropEcoreWl::CallSourceEvent(Dali::DragAndDrop::SourceEventType type
   if(mSourceCallback)
   {
     mSourceCallback(type);
+    if(type != Dali::DragAndDrop::SourceEventType::START)
+    {
+       mDragWindow.Reset();
+    }
   }
 }