aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--seatd/client.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/seatd/client.c b/seatd/client.c
index bf339d9..31a3fd5 100644
--- a/seatd/client.c
+++ b/seatd/client.c
@@ -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;
}