Re: [PATCH v3] weston-launch: Fixed TTY switching

2015-10-04 Thread Giulio Camuffo
This is broken for me, see comments below. > + /* tty will be deinitialized by child process, so it has to be > +* opened again to correctly cleanup vt handling. */ > + if (wl->tty != STDIN_FILENO) { > + close(wl->tty); > + wl->tty = open(wl->tty_p

[PATCH v3] weston-launch: Fixed TTY switching

2015-05-10 Thread mateuszx . potrola
From: Mateusz Polrola After weston-launch is executing weston it cannot close TTY file, because it is still required to properly handle SIGUSR1 and SIGUSR2 signals that are used for switching TTY. Additionally after opening TTY it has to be activated, so that user don't have to manually switch t