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:
parent
ba4c422659
commit
be45c480ec
5 changed files with 30 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -8,7 +8,8 @@ int terminal_open(int vt);
|
|||
int terminal_set_process_switching(int fd, bool enable);
|
||||
int terminal_current_vt(int fd);
|
||||
int terminal_switch_vt(int fd, int vt);
|
||||
int terminal_ack_switch(int fd);
|
||||
int terminal_ack_release(int fd);
|
||||
int terminal_ack_acquire(int fd);
|
||||
int terminal_set_keyboard(int fd, bool enable);
|
||||
int terminal_set_graphics(int fd, bool enable);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue