input: set seat to None when device is removed
This commit is contained in:
parent
ff666e2e91
commit
e4bde29a9b
1 changed files with 1 additions and 0 deletions
|
|
@ -96,5 +96,6 @@ impl DeviceHandler {
|
||||||
.input_device_handlers
|
.input_device_handlers
|
||||||
.borrow_mut()
|
.borrow_mut()
|
||||||
.remove(&self.dev.id());
|
.remove(&self.dev.id());
|
||||||
|
self.data.set_seat(None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue