diff --git a/src/backend/libinput.rs b/src/backend/libinput.rs index 8ffc7e1..199575e 100644 --- a/src/backend/libinput.rs +++ b/src/backend/libinput.rs @@ -6,6 +6,8 @@ use backend::{input as backend, input::Axis}; use input as libinput; use input::event; +#[cfg(feature = "backend_session")] +use std::path::Path; use std::{ collections::hash_map::{DefaultHasher, Entry, HashMap}, hash::{Hash, Hasher},