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

Adam Jackson ajax at nwnk.net
Thu Dec 18 10:12:50 PST 2008


On Thu, 2008-12-18 at 09:01 +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: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081218/fc83c13f/attachment.pgp>


More information about the xorg mailing list