summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-09 11:35:48 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-09 11:35:48 -0400
commitf9149c1699515c060d004225c6a2c5653cebe322 (patch)
treed334079803dda24320ac438e07ee4859a3cb37e3 /src/lib/elput/Elput.h
parenta96266c42272bd6b8d3a27d7fdd7575199772c85 (diff)
elput: Add API function to switch to a given vt
This patch adds a new API function to Elput that can be used to switch to a given VT. This allows drm2 or enlightenment to switch to a given virtual terminal in response to keybindings. @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 95adfce052..d38569d344 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -206,6 +206,19 @@ EAPI int elput_manager_open(Elput_Manager *manager, const char *path, int flags)
206EAPI void elput_manager_close(Elput_Manager *manager, int fd); 206EAPI void elput_manager_close(Elput_Manager *manager, int fd);
207 207
208/** 208/**
209 * Request to switch to a given vt
210 *
211 * @param manager
212 * @param vt
213 *
214 * @return EINA_TRUE on success, EINA_FALSE otherwise
215 *
216 * @ingroup Elput_Manager_Group
217 * @since 1.18
218 */
219EAPI Eina_Bool elput_manager_vt_set(Elput_Manager *manager, int vt);
220
221/**
209 * @defgroup Elput_Input_Group Elput input functions 222 * @defgroup Elput_Input_Group Elput input functions
210 * 223 *
211 * Functions that deal with setup of inputs 224 * Functions that deal with setup of inputs