mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
Fix typo
This commit is contained in:
committed by
Ivan Molodetskikh
parent
10df9f4717
commit
a6baef7b68
@@ -307,7 +307,7 @@ impl PointerGrab<State> 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)));
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ impl PointerGrab<State> 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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user