Web Inspector: Do not dispatch mousemove when emulating touch event and no touch...
[WebKit-https.git] / Source / WebCore / page / EventHandler.cpp
index 2157ea2..0e4a4a3 100644 (file)
@@ -3981,7 +3981,7 @@ bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent
         return false;
 
     if (eventType == PlatformEvent::MouseMoved && !m_touchPressed)
-        return false;
+        return true;
 
     HitTestRequest request(HitTestRequest::Active);
     MouseEventWithHitTestResults mev = prepareMouseEvent(request, event);