client: Remove unnecessary active_client check
This commit is contained in:
parent
6747c5f3f8
commit
d16122e98a
1 changed files with 0 additions and 7 deletions
|
@ -295,13 +295,6 @@ static int handle_disable_seat(struct client *client) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
struct seat *seat = client->seat;
|
||||
if (seat->active_client != client) {
|
||||
log_info("client is not currently active");
|
||||
errno = EPERM;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (seat_ack_disable_client(client) == -1) {
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue