Revert "Remove duplication in dispatch_pending_point_input_events" (#37482)

Revert "Remove duplication in dispatch_pending_point_input_events"
(https://github.com/servo/servo/pull/37426) which causes a serious bug.

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
batu_hoang 2025-06-16 16:36:05 +08:00 committed by GitHub
parent 3b73b83a9f
commit 1044f8fbf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 46 deletions

View file

@ -658,7 +658,6 @@ impl IOCompositor {
webview_renderer.dispatch_point_input_event(
InputEvent::MouseButton(MouseButtonEvent::new(action, button, point))
.with_webdriver_message_id(message_id),
false,
);
},
@ -672,7 +671,6 @@ impl IOCompositor {
webview_renderer.dispatch_point_input_event(
InputEvent::MouseMove(MouseMoveEvent::new(point))
.with_webdriver_message_id(message_id),
false,
);
},
@ -701,7 +699,6 @@ impl IOCompositor {
webview_renderer.dispatch_point_input_event(
InputEvent::Wheel(WheelEvent::new(delta, point))
.with_webdriver_message_id(message_id),
false,
);
webview_renderer.on_webdriver_wheel_action(scroll_delta, point);
},