aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits
diff options
context:
space:
mode:
authorUtsav Oza <utsavoza96@gmail.com>2020-07-26 18:36:30 +0530
committerUtsav Oza <utsavoza96@gmail.com>2020-07-30 16:34:29 +0530
commit5fe54b800334d0963cbf52496e2cbce42d839c46 (patch)
treecce87d9085bb88165f19d0a22298454306f295a1 /components/script_traits
parentb1bd4090470c6f2b9ff4ea410455ae8e38fec2c5 (diff)
downloadservo-5fe54b800334d0963cbf52496e2cbce42d839c46.tar.gz
servo-5fe54b800334d0963cbf52496e2cbce42d839c46.zip
Fix ordering of mousemove event
Diffstat (limited to 'components/script_traits')
-rw-r--r--components/script_traits/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 13dc9c32fa3..1087e37a9fc 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -552,7 +552,7 @@ pub enum CompositorEvent {
),
/// The mouse was moved over a point (or was moved out of the recognizable region).
MouseMoveEvent(
- Option<Point2D<f32>>,
+ Point2D<f32>,
Option<UntrustedNodeAddress>,
// Bitmask of MouseButton values representing the currently pressed buttons
u16,