mirror of
https://github.com/servo/servo.git
synced 2025-09-17 10:28:22 +01:00
Rename MouseWindowEvent variants.
This commit is contained in:
parent
65ee8166bd
commit
be683a0888
7 changed files with 25 additions and 28 deletions
|
@ -102,10 +102,10 @@ cef_class_impl! {
|
|||
let point = TypedPoint2D((*event).x as f32, (*event).y as f32);
|
||||
if mouse_up != 0 {
|
||||
core::send_window_event(WindowEvent::MouseWindowEventClass(
|
||||
MouseWindowEvent::MouseWindowClickEvent(button_type, point)))
|
||||
MouseWindowEvent::Click(button_type, point)))
|
||||
} else {
|
||||
core::send_window_event(WindowEvent::MouseWindowEventClass(
|
||||
MouseWindowEvent::MouseWindowMouseUpEvent(button_type, point)))
|
||||
MouseWindowEvent::MouseUp(button_type, point)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue