mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-03 08:51:27 +03:00
code cleanup
This commit is contained in:
@@ -440,8 +440,8 @@ async fn handle_ei_event(
|
||||
EiEvent::PointerMotion(motion) => {
|
||||
let motion_event = PointerEvent::Motion {
|
||||
time: motion.time as u32,
|
||||
relative_x: motion.dx as f64,
|
||||
relative_y: motion.dy as f64,
|
||||
dx: motion.dx as f64,
|
||||
dy: motion.dy as f64,
|
||||
};
|
||||
if let Some(current_client) = current_client {
|
||||
event_tx
|
||||
|
||||
Reference in New Issue
Block a user