From 8fbce616a633d99fbba0575e0af0aeab372060b3 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Wed, 5 Dec 2018 09:30:11 +0100 Subject: [PATCH] libinput: update to 0.4.1 --- Cargo.toml | 2 +- src/backend/libinput.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 153f4e5..2eb11b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ winit = { version = "0.18.0", optional = true } drm = { version = "^0.3.4", optional = true } gbm = { version = "^0.4.0", optional = true, default-features = false, features = ["drm-support"] } glium = { version = "0.19.0", optional = true, default-features = false } -input = { version = "0.4.0", optional = true } +input = { version = "0.4.1", optional = true } udev = { version = "0.2.0", optional = true } dbus = { version = "0.6.1", optional = true } systemd = { version = "^0.2.0", optional = true } diff --git a/src/backend/libinput.rs b/src/backend/libinput.rs index 199575e..95de7d3 100644 --- a/src/backend/libinput.rs +++ b/src/backend/libinput.rs @@ -594,7 +594,7 @@ impl libinput::LibinputInterface for LibinputSessionInterface { impl AsRawFd for LibinputInputBackend { fn as_raw_fd(&self) -> RawFd { - unsafe { self.context.fd() } + self.context.as_raw_fd() } }