fix clippy lint

This commit is contained in:
Ferdinand Schober
2025-02-27 16:57:53 +01:00
parent 03407b9826
commit 615c75817a

View File

@@ -893,7 +893,7 @@ impl Dispatch<ZwpRelativePointerV1, ()> for State {
} = event } = event
{ {
if let Some(window) = &app.focused { if let Some(window) = &app.focused {
let time = (((utime_hi as u64) << 32 | utime_lo as u64) / 1000) as u32; let time = ((((utime_hi as u64) << 32) | utime_lo as u64) / 1000) as u32;
app.pending_events.push_back(( app.pending_events.push_back((
window.pos, window.pos,
CaptureEvent::Input(Event::Pointer(PointerEvent::Motion { time, dx, dy })), CaptureEvent::Input(Event::Pointer(PointerEvent::Motion { time, dx, dy })),