Re: [PATCH] xfree86: don't restore the TTY mode if we didn't initialize it ourselves

2008-12-18 Thread Julien Cristau
On Thu, Dec 18, 2008 at 09:01:27 +1000, Peter Hutterer wrote: Restoring it unconditionally means we restore to whatever tty_mode has as default value (i.e. 0). K_RAW happens to be 0x00, so we always restore to raw mode if allowEmptyInput is off. Signed-off-by: Julien Cristau

[PATCH] xfree86: don't restore the TTY mode if we didn't initialize it ourselves

2008-12-17 Thread Peter Hutterer
Restoring it unconditionally means we restore to whatever tty_mode has as default value (i.e. 0). K_RAW happens to be 0x00, so we always restore to raw mode if allowEmptyInput is off. --- hw/xfree86/os-support/linux/lnx_init.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff