aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8617d6a..ef61de7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -112,7 +112,7 @@ fn main() {
("X".to_string(), actor::Value::Number(number::Number::from(mouse_x))),
("Y".to_string(), actor::Value::Number(number::Number::from(mouse_y))),
]);
- mouse_position.send(value).unwrap();
+ let _ = mouse_position.try_send(value);
}
if let Ok(value) = screen_buffer.try_recv() {