mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -385,7 +385,7 @@ impl CompositorLayer for Layer<CompositorData> {
|
|||
compositor: &IOCompositor<Window>,
|
||||
cursor: TypedPoint2D<LayerPixel, f32>)
|
||||
where Window: WindowMethods {
|
||||
self.send_event(compositor, MouseMoveEvent(cursor.to_untyped()));
|
||||
self.send_event(compositor, MouseMoveEvent(Some(cursor.to_untyped())));
|
||||
}
|
||||
|
||||
fn send_event<Window>(&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue