From 65d91351ab8c2336601369b718cdc517ecbe6041 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sat, 27 Feb 2021 15:23:00 +0100 Subject: seatd: Tear down VT when disabled client closes If a client closed while it was disabled, the VT would not be torn down. If the user navigated back to the VT it belonged to, they would be stuck. When a client is disabled, open the fd for the VT it belonged to and perform regular teardown on it. --- include/seat.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/seat.h b/include/seat.h index cc21b7f..fa5873c 100644 --- a/include/seat.h +++ b/include/seat.h @@ -44,7 +44,6 @@ void seat_destroy(struct seat *seat); int seat_add_client(struct seat *seat, struct client *client); int seat_remove_client(struct client *client); int seat_open_client(struct seat *seat, struct client *client); -int seat_close_client(struct client *client); int seat_ack_disable_client(struct client *client); struct seat_device *seat_open_device(struct client *client, const char *path); -- cgit v1.2.3