We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad84a47 + a432bc9 commit b533edbCopy full SHA for b533edb
2 files changed
input-sys/build.rs
@@ -107,7 +107,7 @@ fn main() {
107
let bind_file = Path::new(&out_dir).join(&bind_name);
108
let dest_file = dest_dir.join(&bind_name);
109
110
- fs::create_dir_all(&dest_dir).unwrap();
+ fs::create_dir_all(dest_dir).unwrap();
111
fs::copy(&bind_file, &dest_file).unwrap();
112
}
113
src/device.rs
@@ -142,6 +142,7 @@ pub enum DeviceConfigError {
142
143
144
impl DeviceConfigError {
145
+ #[cfg(feature = "libinput_1_29")]
146
pub(crate) fn from_ffi(v: ffi::libinput_config_status) -> DeviceConfigResult {
147
match v {
148
ffi::libinput_config_status_LIBINPUT_CONFIG_STATUS_SUCCESS => Ok(()),
0 commit comments