terminal: Ack both release and acquire

Linux only requires acking release and ignores ack of acquire, but
FreeBSD is more stringent and will patiently wait for both to be acked.

Implement proper acking for both events.
This commit is contained in:
Kenny Levinsen 2020-09-22 01:00:18 +02:00
parent ba4c422659
commit be45c480ec
5 changed files with 30 additions and 15 deletions

View file

@ -53,6 +53,6 @@ struct seat_device *seat_find_device(struct client *client, int device_id);
int seat_set_next_session(struct client *client, int session);
int seat_vt_activate(struct seat *seat);
int seat_prepare_vt_switch(struct seat *seat);
int seat_vt_release(struct seat *seat);
#endif