1
0
Fork 0
forked from wry/wry

config: add support for status commands

This commit is contained in:
Julian Orth 2024-03-07 14:12:29 +01:00
parent 44b19cbc9a
commit 7eb4510eab
6 changed files with 303 additions and 3 deletions

View file

@ -453,7 +453,7 @@ impl ConfigProxyHandler {
fn get_seat(&self, seat: Seat) -> Result<Rc<WlSeatGlobal>, CphError> {
let seats = self.state.globals.seats.lock();
for seat_global in seats.values() {
if seat_global.id().raw() == seat.0 as _ {
if seat_global.id().raw() == seat.0 as u32 {
return Ok(seat_global.clone());
}
}