1
0
Fork 0
forked from wry/wry

input: set seat to None when device is removed

This commit is contained in:
Julian Orth 2024-05-04 10:46:05 +02:00
parent ff666e2e91
commit e4bde29a9b

View file

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