This commit is contained in:
Anton Kesy
2026-01-10 12:12:24 +01:00
committed by Ivan Molodetskikh
parent 10df9f4717
commit a6baef7b68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)));
}
+1 -1
View File
@@ -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)));
}