Fix pointer not moving on udev

oops
This commit is contained in:
Ottatop 2024-03-04 19:17:21 -06:00
parent c96b01f733
commit 9b5b242aea

View file

@ -538,6 +538,7 @@ impl State {
return; return;
}; };
let mut pointer_loc = pointer.current_location(); let mut pointer_loc = pointer.current_location();
pointer_loc += event.delta();
// clamp to screen limits // clamp to screen limits
// this event is never generated by winit // this event is never generated by winit