Merge pull request #127 from mahkoh/jorth/status-app
config: add support for status commands
This commit is contained in:
commit
b88a4ea1a5
6 changed files with 303 additions and 3 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue