1
0
Fork 0
forked from wry/wry

autocommit 2022-03-11 18:15:21 CET

This commit is contained in:
Julian Orth 2022-03-11 18:15:21 +01:00
parent 0399772467
commit b1890894b2
30 changed files with 2909 additions and 504 deletions

View file

@ -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());
}
}