1
0
Fork 0
forked from wry/wry

Merge pull request #127 from mahkoh/jorth/status-app

config: add support for status commands
This commit is contained in:
mahkoh 2024-03-10 17:55:18 +01:00 committed by GitHub
commit b88a4ea1a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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());
}
}