[Tizen] Reset DragWindow when dragging is finished (Accept, Cancel, Finish) 87/291687/2 accepted/tizen/7.0/unified/20230424.020510
authorTaehyub Kim <taehyub.kim@samsung.com>
Fri, 14 Apr 2023 05:16:52 +0000 (14:16 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 20 Apr 2023 08:08:41 +0000 (17:08 +0900)
Change-Id: Iaae6122cd94555c73429a002a54a1a46ad366f4b

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

index 393169f..530b245 100644 (file)
@@ -258,6 +258,10 @@ void DragAndDropEcoreWl::CallSourceEvent(Dali::DragAndDrop::SourceEventType type
   if(mSourceCallback)
   {
     mSourceCallback(type);
+    if(type != Dali::DragAndDrop::SourceEventType::START)
+    {
+       mDragWindow.Reset();
+    }
   }
 }