seat: remove_client return value was inverted
This commit is contained in:
parent
6a01725294
commit
1d188d2f09
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue