winit-wayland: add pointer gesture hold

This commit is contained in:
Martin Marmsoler
2026-06-12 19:36:23 +02:00
committed by GitHub
parent 81b2729765
commit 850d5f59a7
6 changed files with 93 additions and 16 deletions

View File

@@ -541,16 +541,7 @@ impl ApplicationHandler for Application {
WindowEvent::DoubleTapGesture { .. } => {
info!("Smart zoom");
},
WindowEvent::TouchpadPressure { .. }
| WindowEvent::DragLeft { .. }
| WindowEvent::KeyboardInput { .. }
| WindowEvent::PointerEntered { .. }
| WindowEvent::DragEntered { .. }
| WindowEvent::DragMoved { .. }
| WindowEvent::DragDropped { .. }
| WindowEvent::Destroyed
| WindowEvent::Ime(_)
| WindowEvent::Moved(_) => (),
_ => (),
}
}