From a1ceb743edf29c27b10c4d7807e08236b55e0ccf Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 19 Sep 2014 22:05:56 +0200 Subject: use XDG_VTNR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-vt.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mds-vt.h') diff --git a/src/mds-vt.h b/src/mds-vt.h index 48683dc..1912b95 100644 --- a/src/mds-vt.h +++ b/src/mds-vt.h @@ -92,6 +92,14 @@ void received_switch_vt(int signo); int full_send(int socket, const char* message, size_t length); +/** + * Get the index of the virtual terminal on which the display should be opened + * + * @return The index of the virtual terminal on which the display should be opened, -1 on error + */ +int select_vt(void); + + /** * Get the index of the next available virtual terminal * -- cgit v1.2.3-70-g09d2