aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/input
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2024-07-17 04:47:13 +0300
committerKirill Chibisov <contact@kchibisov.com>2024-07-17 11:02:31 +0300
commitf5e02862ffdcc579264ce85f11aed96732b257ff (patch)
tree4c6520c2c0ef1ef26cdf740b9fe7151ea1e7ba4d /alacritty/src/input
parent3504246c3f57769ca0528fe397e866a13c49f039 (diff)
downloadr-alacritty-f5e02862ffdcc579264ce85f11aed96732b257ff.tar.gz
r-alacritty-f5e02862ffdcc579264ce85f11aed96732b257ff.tar.bz2
r-alacritty-f5e02862ffdcc579264ce85f11aed96732b257ff.zip
Bump dependencies
Update winit and clap to latest versions.
Diffstat (limited to 'alacritty/src/input')
-rw-r--r--alacritty/src/input/mod.rs32
1 files changed, 16 insertions, 16 deletions
diff --git a/alacritty/src/input/mod.rs b/alacritty/src/input/mod.rs
index 4900e26f..9f7074f4 100644
--- a/alacritty/src/input/mod.rs
+++ b/alacritty/src/input/mod.rs
@@ -1327,9 +1327,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Left,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: Duration::ZERO,
@@ -1343,9 +1343,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Right,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: Duration::ZERO,
@@ -1359,9 +1359,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Middle,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: Duration::ZERO,
@@ -1375,9 +1375,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Left,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::DoubleClick,
input_delay: Duration::ZERO,
@@ -1391,9 +1391,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Left,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: CLICK_THRESHOLD,
@@ -1407,9 +1407,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Left,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::TripleClick,
input_delay: Duration::ZERO,
@@ -1423,9 +1423,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Left,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: CLICK_THRESHOLD,
@@ -1439,9 +1439,9 @@ mod tests {
event: WindowEvent::MouseInput {
state: ElementState::Pressed,
button: MouseButton::Right,
- device_id: unsafe { DeviceId::dummy() },
+ device_id: DeviceId::dummy(),
},
- window_id: unsafe { WindowId::dummy() },
+ window_id: WindowId::dummy(),
},
end_state: ClickState::Click,
input_delay: Duration::ZERO,