{
struct stat st;
char buff[64];
- struct vt_mode vtmode = { 0 };
+ struct vt_mode vtmode = { 0, 0, SIGUSR1, SIGUSR2, 0 };
snprintf(buff, sizeof(buff), "/dev/tty%d", dev->vt);
buff[sizeof(buff) - 1] = 0;
void
_ecore_drm_logind_restore(Ecore_Drm_Device *dev)
{
- struct vt_mode vtmode = { 0 };
+ struct vt_mode vtmode = { 0, 0, SIGUSR1, SIGUSR2, 0 };
if ((!dev) || (dev->tty.fd < 0)) return;
{
struct stat st;
int kmode;
- struct vt_mode vtmode = { 0 };
+ struct vt_mode vtmode = { 0, 0, SIGUSR1, SIGUSR2, 0 };
if ((fstat(dev->tty.fd, &st) == -1) ||
(major(st.st_rdev) != TTY_MAJOR) || (minor(st.st_rdev) == 0))
_ecore_drm_tty_restore(Ecore_Drm_Device *dev)
{
int fd = dev->tty.fd;
- struct vt_mode mode = { 0 };
+ struct vt_mode mode = { 0, 0, SIGUSR1, SIGUSR2, 0 };
if (fd < 0) return;