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.
This commit is contained in:
parent
45bab8b258
commit
65d91351ab
2 changed files with 45 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue