Fix typo
Browse files at this commita6baef7b68fcb60dfc57a9fc04e983cfd8a028acParent: 10df9f42 changed files +2 -2
src/input/move_grab.rsmodified+1 -1
| @@ -307,7 +307,7 @@ impl PointerGrab<State> for MoveGrab { | |||
| 307 | 307 | ||
| 308 | self.new_location = event.location; | 308 | self.new_location = event.location; |
| 309 | 309 | ||
| 310 | - // Relative motion takes precedense over normal motion. | 310 | + // Relative motion takes precedence over normal motion. |
| 311 | if self.relative_delta.is_none() { | 311 | if self.relative_delta.is_none() { |
| 312 | self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); | 312 | self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); |
| 313 | } | 313 | } |
src/input/spatial_movement_grab.rsmodified+1 -1
| @@ -157,7 +157,7 @@ impl PointerGrab<State> for SpatialMovementGrab { | |||
| 157 | 157 | ||
| 158 | self.new_location = event.location; | 158 | self.new_location = event.location; |
| 159 | 159 | ||
| 160 | - // Relative motion takes precedense over normal motion. | 160 | + // Relative motion takes precedence over normal motion. |
| 161 | if self.relative_delta.is_none() { | 161 | if self.relative_delta.is_none() { |
| 162 | self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); | 162 | self.event_timestamp = Some(Duration::from_millis(u64::from(event.time))); |
| 163 | } | 163 | } |