diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-19 22:05:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-19 22:05:56 +0200 |
commit | a1ceb743edf29c27b10c4d7807e08236b55e0ccf (patch) | |
tree | dcd0828300096aec9152d78c7ce2664554a51589 /src/mds-vt.h | |
parent | whoops (diff) | |
download | mds-a1ceb743edf29c27b10c4d7807e08236b55e0ccf.tar.gz mds-a1ceb743edf29c27b10c4d7807e08236b55e0ccf.tar.bz2 mds-a1ceb743edf29c27b10c4d7807e08236b55e0ccf.tar.xz |
use XDG_VTNR
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-vt.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -93,6 +93,14 @@ 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 * * @return -1 on error, 0 if the terminals are exhausted, otherwise the next terminal |