Fix recent CI failures (#3041)

* Fix new clippy lints

* Fix nightly documentation warnings
This commit is contained in:
Mads Marquart 2023-08-24 18:29:31 +02:00 committed by GitHub
parent 309e6aa85a
commit 9979441c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 10 deletions

View file

@ -732,7 +732,7 @@ impl<T: 'static> EventProcessor<T> {
// Suppress emulated scroll wheel clicks, since we handle the real motion events for those.
// In practice, even clicky scroll wheels appear to be reported by evdev (and XInput2 in
// turn) as axis motion, so we don't otherwise special-case these button presses.
4 | 5 | 6 | 7 => {
4..=7 => {
if xev.flags & ffi::XIPointerEmulated == 0 {
callback(Event::WindowEvent {
window_id,