1
0
Fork 0
forked from wry/wry

autocommit 2022-03-09 17:51:17 CET

This commit is contained in:
Julian Orth 2022-03-09 17:51:17 +01:00
parent 4df6b559b7
commit 0399772467
35 changed files with 429 additions and 423 deletions

View file

@ -78,7 +78,7 @@ pub enum LibInputError {
}
pub struct LibInput {
data: Box<UserData>,
_data: Box<UserData>,
li: *mut libinput,
}
@ -102,7 +102,7 @@ impl LibInput {
};
libinput_log_set_priority(li, priority.raw() as _);
}
Ok(Self { data: ud, li })
Ok(Self { _data: ud, li })
}
pub fn fd(&self) -> c::c_int {
@ -122,7 +122,7 @@ impl LibInput {
libinput_device_ref(res);
}
Ok(RegisteredDevice {
li: self.clone(),
_li: self.clone(),
dev: res,
})
}