diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-27 15:23:00 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-02-27 16:58:44 +0100 |
commit | 65d91351ab8c2336601369b718cdc517ecbe6041 (patch) | |
tree | 676d38f624f980658d3bca7faaae92cda70dac5a /include | |
parent | 45bab8b258b1cb0ba68eff3bfc3913e1e5d84b7d (diff) | |
download | seatd-65d91351ab8c2336601369b718cdc517ecbe6041.tar.xz |
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')
-rw-r--r-- | include/seat.h | 1 |
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); |