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>
This commit is contained in:
parent
feff00178e
commit
3c62f4222c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue