Skip to content

Commit 18a4e0e

Browse files
davide125WhatAmISupposedToPutHere
authored andcommitted
Bump input-linux, input-linux-sys, nix
1 parent 23fe535 commit 18a4e0e

3 files changed

Lines changed: 22 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 18 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ drm = "0.11.1"
1616
anyhow = "1"
1717
input = "0.8"
1818
libc = "0.2"
19-
input-linux = { version = "0.6", features = ["serde"] }
20-
input-linux-sys = "0.8"
21-
nix = { version = "0.27", features = ["event", "signal", "inotify"] }
19+
input-linux = { version = "0.7", features = ["serde"] }
20+
input-linux-sys = "0.9"
21+
nix = { version = "0.29", features = ["event", "signal", "inotify"] }
2222
privdrop = "0.5.3"
2323
serde = { version = "1", features = ["derive"] }
2424
toml = "0.8"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ fn real_main(drm: &mut DrmBackend) {
461461
needs_complete_redraw = false;
462462
}
463463

464-
match epoll.wait(&mut [EpollEvent::new(EpollFlags::EPOLLIN, 0)], next_timeout_ms as isize) {
464+
match epoll.wait(&mut [EpollEvent::new(EpollFlags::EPOLLIN, 0)], next_timeout_ms as u16) {
465465
Err(Errno::EINTR) | Ok(_) => { 0 },
466466
e => e.unwrap(),
467467
};

0 commit comments

Comments
 (0)