autocommit 2022-03-11 18:15:21 CET
This commit is contained in:
parent
0399772467
commit
b1890894b2
30 changed files with 2909 additions and 504 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::backend::{InputDevice};
|
||||
use crate::backend::InputDevice;
|
||||
use crate::state::{DeviceHandlerData, InputDeviceData};
|
||||
use crate::utils::asyncevent::AsyncEvent;
|
||||
use crate::State;
|
||||
|
|
@ -64,6 +64,9 @@ impl DeviceHandler {
|
|||
if let Some(config) = self.state.config.get() {
|
||||
config.del_input_device(self.dev.id());
|
||||
}
|
||||
self.state.input_device_handlers.borrow_mut().remove(&self.dev.id());
|
||||
self.state
|
||||
.input_device_handlers
|
||||
.borrow_mut()
|
||||
.remove(&self.dev.id());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue