diff --git a/src/input/move_grab.rs b/src/input/move_grab.rs index 02b0e508..8834b100 100644 --- a/src/input/move_grab.rs +++ b/src/input/move_grab.rs @@ -307,7 +307,7 @@ impl PointerGrab for MoveGrab { self.new_location = event.location; - // Relative motion takes precedense over normal motion. + // Relative motion takes precedence over normal motion. if self.relative_delta.is_none() { self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); } diff --git a/src/input/spatial_movement_grab.rs b/src/input/spatial_movement_grab.rs index 6765700d..546929a0 100644 --- a/src/input/spatial_movement_grab.rs +++ b/src/input/spatial_movement_grab.rs @@ -157,7 +157,7 @@ impl PointerGrab for SpatialMovementGrab { self.new_location = event.location; - // Relative motion takes precedense over normal motion. + // Relative motion takes precedence over normal motion. if self.relative_delta.is_none() { self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); }