1
0
Fork 0
forked from wry/wry

control-center: add input pane

This commit is contained in:
Julian Orth 2026-03-07 14:49:13 +01:00
parent db06d719dd
commit edbdcdca32
11 changed files with 783 additions and 63 deletions

View file

@ -67,7 +67,7 @@ impl DeviceHandler {
}
for seat in self.state.globals.seats.lock().values() {
if seat.seat_name() == DEFAULT_SEAT_NAME {
self.data.set_seat(Some(seat.clone()));
self.data.set_seat(&self.state, Some(seat.clone()));
break;
}
}
@ -102,6 +102,6 @@ impl DeviceHandler {
.input_device_handlers
.borrow_mut()
.remove(&self.dev.id());
self.data.set_seat(None);
self.data.set_seat(&self.state, None);
}
}