summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-22 12:42:52 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-26 08:37:08 -0500
commit3c62f4222cc018165d6d7f1eb29286b1f65d61ed (patch)
tree68b17b291847e062d9bfd1e3708d5dad9105fd89 /src/lib/ecore_drm
parentfeff00178e7331ef8e32a2b8353aa73e431c2aa4 (diff)
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 7a652735cf..286aa20e58 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
66struct _Ecore_Drm_Device 66struct _Ecore_Drm_Device
67{ 67{
68 int id; 68 int id;
69 unsigned int vt;
69 const char *seat; 70 const char *seat;
71 char *session;
70 72
71 struct 73 struct
72 { 74 {
@@ -94,6 +96,7 @@ struct _Ecore_Drm_Device
94 struct 96 struct
95 { 97 {
96 int fd; 98 int fd;
99 int kbd_mode;
97 const char *name; 100 const char *name;
98 Ecore_Event_Handler *event_hdlr; 101 Ecore_Event_Handler *event_hdlr;
99 Ecore_Event_Handler *switch_hdlr; 102 Ecore_Event_Handler *switch_hdlr;