fix windows + rename to dx/dy everywhere

This commit is contained in:
Ferdinand Schober
2024-07-09 18:58:01 +02:00
parent 306e0e6a60
commit eaa3d9d5b3
5 changed files with 12 additions and 23 deletions

View File

@@ -177,11 +177,7 @@ impl VirtualInput {
match event {
Event::Pointer(e) => {
match e {
PointerEvent::Motion {
time,
dx: relative_x,
dy: relative_y,
} => self.pointer.motion(time, relative_x, relative_y),
PointerEvent::Motion { time, dx, dy } => self.pointer.motion(time, dx, dy),
PointerEvent::Button {
time,
button,