aboutsummaryrefslogtreecommitdiff
path: root/include/seat.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-02-27 15:23:00 +0100
committerKenny Levinsen <kl@kl.wtf>2021-02-27 16:58:44 +0100
commit65d91351ab8c2336601369b718cdc517ecbe6041 (patch)
tree676d38f624f980658d3bca7faaae92cda70dac5a /include/seat.h
parent45bab8b258b1cb0ba68eff3bfc3913e1e5d84b7d (diff)
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.
Diffstat (limited to 'include/seat.h')
-rw-r--r--include/seat.h1
1 files changed, 0 insertions, 1 deletions
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);