forked from enlightenment/efl
ecore-drm: Re-enable setting K_OFF keyboard mode
Summary: Now that things are shaping up, we can re-enable the K_OFF tty mode which will help with buffering input, etc. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6b1e62afa4
commit
0c105e4f68
|
@ -51,13 +51,12 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
/* NB: Don't set this. This Turns OFF keyboard on the VT */
|
||||
/* if (ioctl(dev->tty.fd, KDSKBMUTE, 1) && */
|
||||
/* ioctl(dev->tty.fd, KDSKBMODE, K_OFF)) */
|
||||
/* { */
|
||||
/* ERR("Could not set K_OFF keyboard mode: %m"); */
|
||||
/* return EINA_FALSE; */
|
||||
/* } */
|
||||
if (ioctl(dev->tty.fd, KDSKBMUTE, 1) &&
|
||||
ioctl(dev->tty.fd, KDSKBMODE, K_OFF))
|
||||
{
|
||||
ERR("Could not set K_OFF keyboard mode: %m");
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
if (kmode != KD_GRAPHICS)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue