diff --git a/seatd/seat.c b/seatd/seat.c index ab0e338..eb17e7b 100644 --- a/seatd/seat.c +++ b/seatd/seat.c @@ -106,7 +106,7 @@ int seat_remove_client(struct seat *seat, struct client *client) { client->seat = NULL; log_debug("removed client"); - return found ? -1 : 0; + return found ? 0 : -1; } struct seat_device *seat_find_device(struct client *client, int device_id) {