diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-09-22 01:00:18 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-09-22 01:14:24 +0200 |
commit | be45c480ec0792c7dfb97e39b4f5369b75593ae8 (patch) | |
tree | e7d8a7e18d45269db06b55427a4b7ca5d7d23e19 /include/terminal.h | |
parent | ba4c4226595598f6e3f9712eed6c04c49b7399e5 (diff) |
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.
Diffstat (limited to 'include/terminal.h')
-rw-r--r-- | include/terminal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/terminal.h b/include/terminal.h index 1215d8b..fb46ce3 100644 --- a/include/terminal.h +++ b/include/terminal.h @@ -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); |