mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Send mouse move events to the the previous layer when directing events to a new one for the first time. Resolves #7865.
This commit is contained in:
parent
4b9fa13f2f
commit
9529196d2f
4 changed files with 41 additions and 12 deletions
|
@ -187,8 +187,8 @@ pub enum CompositorEvent {
|
|||
MouseDownEvent(MouseButton, Point2D<f32>),
|
||||
/// A mouse button was released on a point.
|
||||
MouseUpEvent(MouseButton, Point2D<f32>),
|
||||
/// The mouse was moved over a point.
|
||||
MouseMoveEvent(Point2D<f32>),
|
||||
/// The mouse was moved over a point (or was moved out of the recognizable region).
|
||||
MouseMoveEvent(Option<Point2D<f32>>),
|
||||
/// A touch event was generated with a touch ID and location.
|
||||
TouchEvent(TouchEventType, TouchId, Point2D<f32>),
|
||||
/// A key was pressed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue