[Tizen] When the mouse is out, the previous mouse must be canceled. 99/292299/1
authorjoogab.yun <joogab.yun@samsung.com>
Wed, 3 May 2023 07:53:19 +0000 (16:53 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Wed, 3 May 2023 08:04:01 +0000 (17:04 +0900)
Change-Id: I540c1cd3f3cb7a3d9ad2d3975b1ca16d57d49dac

dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp

index 0e49c7e..71aa7b5 100644 (file)
@@ -491,6 +491,8 @@ static Eina_Bool EcoreEventMouseOut(void* data, int type, void* event)
   WindowBaseEcoreWl2* windowBase = static_cast<WindowBaseEcoreWl2*>(data);
   if(windowBase)
   {
+    // When the mouse is out, the previous mouse must be canceled.
+    windowBase->OnMouseButtonCancel(data, type, event);
     windowBase->OnMouseInOut(data, type, event, Dali::DevelWindow::MouseInOutEvent::Type::OUT);
   }
   return ECORE_CALLBACK_PASS_ON;