[Tizen] Hover events should also be interrupted when reset. 66/323866/1
authorjoogab.yun <joogab.yun@samsung.com>
Thu, 8 May 2025 06:05:52 +0000 (15:05 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Thu, 8 May 2025 08:15:12 +0000 (17:15 +0900)
Change-Id: I4fbccfaa358afe41255b3c41934e92d319336537

dali/integration-api/adaptor-framework/scene-holder-impl.cpp

index 8465ecdbfc8884e2735edf05e483a5492eb91551..0794ca2baa7e5129d96e83f85b38ca2663524291 100644 (file)
@@ -559,6 +559,15 @@ void SceneHolder::Reset()
   // First the touch event & related gesture events are queued
   mScene.QueueEvent(event);
 
+  // Any hover listeners should be told of the interruption.
+  Integration::HoverEvent hoverEvent;
+  Integration::Point      hoverPoint;
+  hoverPoint.SetState(PointState::INTERRUPTED);
+  hoverEvent.AddPoint(hoverPoint);
+
+  // First the hover event & related gesture events are queued
+  mScene.QueueEvent(hoverEvent);
+
   // Next the events are processed with a single call into Core
   mHandledMultiTouch = false;
   mPreviousType      = Integration::TouchEventCombiner::DISPATCH_NONE;