diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-vt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mds-vt.h b/src/mds-vt.h index 922e543..93e05de 100644 --- a/src/mds-vt.h +++ b/src/mds-vt.h @@ -25,6 +25,16 @@ #include <linux/vt.h> + +/** + * Perform a VT switch requested by the OS kernel + * + * @param leave_foreground Whether the display is leaving the foreground + * @return Zero on success, -1 on error + */ +int switch_vt(int leave_foreground); + + /** * Handle the received message * |