devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3c62f4222cc018165d6d7f1eb29286b1f65d61ed
commit 3c62f4222cc018165d6d7f1eb29286b1f65d61ed Author: Chris Michael <[email protected]> Date: Thu Jan 22 12:42:52 2015 -0500 ecore-drm: Move session and vt fields to store inside the Ecore_Drm_Device Summary: This moves storing the session name and VT fields inside the device structure. This also adds a field so we can store the keyboard mode of the tty, and restore it on close. @fix Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_drm/Ecore_Drm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h index 7a65273..286aa20 100644 --- a/src/lib/ecore_drm/Ecore_Drm.h +++ b/src/lib/ecore_drm/Ecore_Drm.h @@ -66,7 +66,9 @@ typedef struct _Ecore_Drm_Fb struct _Ecore_Drm_Device { int id; + unsigned int vt; const char *seat; + char *session; struct { @@ -94,6 +96,7 @@ struct _Ecore_Drm_Device struct { int fd; + int kbd_mode; const char *name; Ecore_Event_Handler *event_hdlr; Ecore_Event_Handler *switch_hdlr; --
